链式付款PayPal的问题



我在自适应支付中使用链式支付PayPal并在进行交易时收到以下错误:

Unable to process due to payment error
The fee payer PRIMARYRECEIVER can only be used if a primary receiver is specified

有什么线索吗?

您需要使用此参数来指示您的主接收者,以便您将费用支付者作为主要接收者。

请尝试

receiverList.receiver(n).primary

设置为 true 表示链式付款;只能有一个接收方是主接收方。省略此字段,或将其设置为 false 表示简单和并行付款。

参考: https://developer.paypal.com/webapps/developer/docs/classic/api/adaptive-payments/Pay_API_Operation/

最新更新