【发布时间】:2018-04-05 08:42:04
【问题描述】:
我正在尝试将帐单国家/地区默认为英国,但无论我尝试什么,它始终默认为美国。
有什么想法吗?
请注意,我们不要求客户输入送货地址,因此这已根据 json 隐藏,但已尝试设置此设置以查看它是否会带来不一样的效果。
我尝试了以下方法:
json_patch_request: [
{
op: 'replace',
path: '/payer/payer_info/billing_address',
value: {
country_code: 'GB',
}
}
],
payer: {
payer_info: {
country_code: 'GB',
billing_address: {
country_code: 'GB',
},
shipping_address: {
country_code: 'GB',
}
}
},
payment: {
transactions: [
{
amount: {
total: 10,
currency: 'GBP'
},
custom: 'x',
},
],
},
experience: {
input_fields: {
no_shipping: 1
},
flow_config: {
landing_page_type: "billing",
},
presentation: {
locale_code: "GB",
},
}
【问题讨论】: