2
爲了確保我想在PayPal頁面上設置頁眉圖像和業務的一致體驗,請查看具有它們的名稱和說明的項目,並要求客戶選擇送貨地址。使用PayPal自適應付款設置公司名稱和標題圖像
我使用active_paypal_adaptive_payment寶石(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
}
}])
)
的問題是,這是行不通的 - 我沒有看到任何企業名稱或圖像,我看到通用名稱在左欄(具有物品和流程的一欄不要求收貨地址)。
能否請指教?
你有沒有想過這個想法? – 2013-08-22 14:47:35