当我尝试使用 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 调用,您可以使用 TransactionSearch
从 PayerID
中查找 TransactionID
API请求。将您的 PayerID
放入 ProfileID
搜索字段。
关于尝试使用付款人 ID 和金额调用 Refund API 方法时,PayPal SOAP API 错误 13606,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18315693/