尝试使用付款人 ID 和金额调用 Refund API 方法时,PayPal SOAP API 错误 13606

标签 paypal paypal-sandbox

当我尝试使用 PayerID 调用 RefundTransaction API 方法时,出现错误“13606 功能未启用。您未启用此功能。”。

这是什么意思?有没有办法启用它?

要复制你可以去https://devtools-paypal.com/apiexplorer/PayPalAPIs并尝试执行填充了 PayerID 和 Amount 的 RefundTransaction 方法。

最佳答案

直接来自 PayPal 支持:

TransactionID and PayerID are marked "conditional", but you couldn't set blank.

For example, A buyer purchased several items in different period , but if you call RefundTransaciton API only set PayerID, PayPal couldn't judge in which transaction to refund, and also could not refund the amount about all of these items.

PayPal is not allowed this case happen.

So at least you have to set the transaction ID while calling the refund API.

因此解决方案是始终指定 TransactionID

是的,自己的API Documentation说: “必须指定交易 ID 付款人 ID。” 但显然情况并非如此。

如果您不记录 subscr_payment IPN 调用,您可以使用 TransactionSearchPayerID 中查找 TransactionID API请求。将您的 PayerID 放入 ProfileID 搜索字段。

关于尝试使用付款人 ID 和金额调用 Refund API 方法时,PayPal SOAP API 错误 13606,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18315693/

相关文章:

java - Paypal Rest API SDK v2

php - 将自定义值/数据发送到 PayPal(快速结帐)

PayPal IPN - 自动返回

php - PayPal IPN - PHP 和 MySQL

ruby-on-rails - 如何在 Rails 中将 BN 代码与 Active Merchant 一起使用

paypal - 自适应 Paypal 支付错误代码: 579017

php - Paypal授权抛出: Can not access to this resource

php - 有人可以帮助我进行 paypal 链接支付吗? PHP

javascript - 等待在 nextjs 页面加载 paypal 脚本

paypal - REST API 和 MPL 结合在一起。这可能吗?