为了确保一致的体验,我想在paypal的页面上设置标题图像和业务,查看项目及其名称和描述,并要求客户选择送货地址。
我正在使用active_paypal_adaptive_payment gem(https://github.com/jpablobr/active_paypal_adaptive_payment)和set_payment_options选项:
response = ADAPTIVE_GATEWAY.setup_purchase(
:action_type => 'CREATE',
:receiver_list => recipients,
...
)
ADAPTIVE_GATEWAY.set_payment_options(
:display_options => {
:business_name => 'Big Business',
:header_image_url => 'url goes here'
},
:sender_options => {
:require_shipping_address_selection => true },
:receiver_options => [{
:description => _description,
:invoice_data => {
:item => [{
:name => _title,
:item_count => 1,
}],
:total_shipping => 10.0,
:total_tax => 10
},
:receiver => {
:email => email
}
}])
)
问题是它不起作用 - 我没有看到任何商业名称或图像,我在左栏看到通用名称(带有项目和流程的名称不要求送货地址)。
你能告诉我吗?
答案 0 :(得分:0)
您也可以登录PayPal,然后转到我的销售工具并更新自定义付款页选项,以创建一个新的页面样式,其中包含您选择的颜色组合和徽标(那里)是徽标图像的大小限制)