[英]Setting business name and header images with adaptive payments on paypal
In order to ensure consistent experience i want to set header image and business on paypal's page, view items with their names and description and ask the customer to select shipping address. 为了确保一致的体验,我想在Paypal的页面上设置标题图像和业务,查看带有其名称和描述的项目,并要求客户选择送货地址。
I'm using active_paypal_adaptive_payment gem ( https://github.com/jpablobr/active_paypal_adaptive_payment ) and the option to set_payment_options: 我正在使用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
}
}])
)
The issue is that it doesn't work - i do not see any business names or image, i see generic names on the left column (the one with the items and the flow doesn't ask for shipping address). 问题是它不起作用-我看不到任何公司名称或图片,我在左侧列中看到通用名称(带有项目和流程的名称不要求送货地址)。
Could you please advise? 您能否提一些建议?
您也可以这样做,方法是登录PayPal,然后转到“我的销售工具”并更新“ 自定义付款页面”选项,以使用您选择的颜色组合和徽标创建新的页面样式(徽标图像有尺寸限制)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.