如何解决贝宝智能按钮发货问题
我正在使用 paypal 智能按钮,似乎一切正常。 但是,我希望能够更新运费,因此首先使用以下代码进行了小测试...
onShippingChange: function(data,actions) {
if (data.shipping_address.country_code !== 'GB') {
return actions.reject();
}
However this is really incosistant,it will sometimes work fine and when selected a non GB address will say we do not ship to this address in the paypal popup,but for instance if you press the paypal button again on my website the next当贝宝窗口不再更新运输时,您可以选择任何国家/地区而不会阻止您。
我是不是遗漏了什么,上面的一小段代码看起来很基础。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。