Disable shipping address option in PayPal Express Checkout(在 PayPal Express Checkout 中禁用送货地址选项)
问题描述
使用 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 中禁用送货地址选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:在 PayPal Express Checkout 中禁用送货地址选项
- 覆盖 Magento 社区模块控制器的问题 2022-01-01
- 使用 GD 和 libjpeg 支持编译 PHP 2022-01-01
- 如何从数据库中获取数据以在 laravel 中查看页面? 2022-01-01
- 如何在 Symfony2 中正确使用 webSockets 2021-01-01
- Laravel 5:Model.php 中的 MassAssignmentException 2021-01-01
- 如何使用 Google API 在团队云端硬盘中创建文件夹? 2022-01-01
- PHP foreach() 与数组中的数组? 2022-01-01
- Oracle 即时客户端 DYLD_LIBRARY_PATH 错误 2022-01-01
- openssl_digest vs hash vs hash_hmac?盐与盐的区别HMAC? 2022-01-01
- PHP - if 语句中的倒序 2021-01-01
