gpt4 book ai didi

ruby-on-rails - 在 paypal 上使用自适应付款设置公司名称和标题图像

转载 作者:太空宇宙 更新时间:2023-11-03 15:51:13 24 4
gpt4 key购买 nike

为了确保一致的体验,我想在 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
}
}])
)

问题是它不起作用 - 我没有看到任何公司名称或图像,我在左栏中看到通用名称(带有项目和流程的那个不要求提供送货地址)。

paypal-generic-message-no-item-details

能请教一下吗?

最佳答案

您也可以登录 PayPal,然后转到“我的销售工具”并更新自定义支付页面选项,以使用您选择的颜色组合和 Logo 创建新的页面样式(有是 Logo 图像的大小限制)

关于ruby-on-rails - 在 paypal 上使用自适应付款设置公司名称和标题图像,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16372738/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com