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 中禁用送货地址选项
基础教程推荐
- 学说 dbal querybuilder 作为准备好的语句 2022-01-01
- 在PHP中根据W3C规范Unicode 2022-01-01
- PHP PDO MySQL 查询 LIKE ->多个关键词 2021-01-01
- PHP 类:全局变量作为类中的属性 2021-01-01
- 有什么方法可以用编码 UTF-8 而不是 Unicode 返回 PHP`json_encode`? 2021-01-01
- Cron Jobs 调用带有变量的 PHP 脚本 2022-01-01
- 如何在 Laravel 中使用 React Router? 2022-01-01
- 如何在 Laravel 5.3 注册中添加动态下拉列表列? 2021-01-01
- YouTube API v3 点赞视频,但计数器不增加 2022-01-01
- 如何替换eregi() 2022-01-01
