在PayPal Express Checkout中禁用送货地址选项 [英] Disable shipping address option in PayPal Express Checkout
问题描述
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:
或在新的REST API中查找付款经验
Or lookup for Payment experience in new REST API
这篇关于在PayPal Express Checkout中禁用送货地址选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!