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 中禁用送货地址选项


基础教程推荐
- 如何在 Symfony 和 Doctrine 中实现多对多和一对多? 2022-01-01
- HTTP 与 FTP 上传 2021-01-01
- phpmyadmin 错误“#1062 - 密钥 1 的重复条目‘1’" 2022-01-01
- 在 CakePHP 2.0 中使用 Html Helper 时未定义的变量 2021-01-01
- 使用 PDO 转义列名 2021-01-01
- 如何在 XAMPP 上启用 mysqli? 2021-01-01
- Doctrine 2 - 在多对多关系中记录更改 2022-01-01
- 在 yii2 中迁移时出现异常“找不到驱动程序" 2022-01-01
- PHP 守护进程/worker 环境 2022-01-01
- 找不到类“AppHttpControllersDB",我也无法使用新模型 2022-01-01