paypal - 自适应付款没有送货信息

标签 paypal paypal-adaptive-payments

我已经能够通过简单的付款调用获得 PayPal 自适应付款。 但我想获得运输详细信息。 我尝试将操作类型设置为创建,然后使用返回的 payKey 发送 SetPaymentOptions 调用设置 RequireShippingAddressSelection = True,然后像以前一样使用付款调用返回的 url,但仍然没有送货信息。

我见过其他人遇到这个问题,但没有答案。

谢谢

最佳答案

我也有同样的问题,以下是我从 PayPal 技术支持处得到的信息。


It is not possible for you to supply a shipping address as part of an Adaptive Payments transaction. However, you can request that the customer selects a shipping address from the addresses existing on their PayPal account when they checkout using the embedded flow. Details of the embedded flow are available here: https://developer.paypal.com/webapps/developer/docs/classic/adaptive-payments/integration-guide/APIntro/ (Search for Embedded Payments)

If you think this is an option you would also be required to implement another API call, SetPaymentOptions, which would be sent after the Pay API request. Within the SetPaymentOptions API request you would add the parameter requireShippingAddressSelection. Details of the SetPaymentOptions API are located here: https://developer.paypal.com/webapps/developer/docs/classic/api/adaptive-payments/SetPaymentOptions_API_Operation/

If your application requires that you supply a custom shipping address to PayPal at the time of payment then you will need to consider using Express Checkout instead of Adaptive Payments.

关于paypal - 自适应付款没有送货信息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18693621/

相关文章:

ruby-on-rails - 如何在本地主机上的 PayPal 中获取 IPN 通知

php - Paypal 自适应支付 - 产品名称

ruby-on-rails - 如何使用打开的 "Pay with a credit or debit card"选项卡打开 PayPal 结账?

PayPal Adaptive Payments ConvertCurrency API 的 PHP 示例

paypal - 输入了无效参数 :

ruby-on-rails - Paypal预授权+自适应支付

Paypal API Chained Payment - 二级收款人没有paypal账户

paypal - 如何在 PayPal 沙箱中释放捕获的付款?

api - Paypal 什么时候发回自定义变量?

Facebook 上 iFrame 中的 Paypal