问题描述
使用 PayPal API 并使用来自 SDK 和下载:简化与下载和 SDK 的集成.
Working with the PayPal API and using the Name-Value Pair Interface PHP source codes from SDKs and Downloads: Simplify Integrations with Downloads and SDKs.
我的问题类似于删除(或预填)PayPal Express Checkout 的地址详细信息",但我根本不想要运费/地址或任何与运费相关的信息.
My question is similar to "Removing (or prefilling) the address details for PayPal Express Checkout" but I don't want shipping cost/address or anything related about shipping at all.
我在我的系统上保留了所有送货详细信息(即使有时送货甚至不适用,也不收取任何费用),我只希望用户通过 PayPal 付款,而无需送货地址和送货费用.
I keep all shipping details on my system (even sometimes shipping doesn't even apply and there is no charge for it) and I just want user to pay through PayPal without shipping address and shipping cost.
如何禁用结帐的送货部分?
How can I disable shipping part of checkout?
推荐答案
如果您使用较新的 API,您还可以通过 NOSHIPPING=1(而不是 no_shipping)
If you're using the newer API, you could also pass NOSHIPPING=1 (not no_shipping)
有关 SetExpressCheckout 的所有可能参数的更多详细信息:
Further details about all possible parameters to the SetExpressCheckout here:
https://developer.paypal.com/docs/nvp-soap-api/nvp/
或在新的 REST API 中查找支付体验
Or lookup for Payment experience in new REST API
这篇关于在 PayPal Express Checkout 中禁用送货地址选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!