Chained payment cannot be completed

↘锁芯ラ 提交于 2019-11-29 16:25:19

So after nearly a month of fighting this issue with PayPal's merchant technical support (most of the time not getting any responses at all) and waiting nearly two weeks for a response on an escalation, it turns out the issue stems from the SDK configuration.

Although throughout the API docs and SDK code the Application ID is referenced as applicationId, apparently the SDK requires it to be entered in the config file as acct1.AppId instead. I only discovered this after coming across this wiki page on configuring the SDK, which didn't even exist 24 hours ago.

Once I updated my config, I was able to authorize the payment without error.

I encountered another cause that can cause this exact problem with Chained Payments.

Here's how my chained payment was setup.

Main account received 100%.

  • Referring account got 50% from that.
  • Partner 1 account got 10%.
  • Partner 2 account got 10%.
  • Partner 3 account got 10%.
  • Partner 4 account got 10%.
  • 10% remained in main account and paying the transaction fee.

This worked perfectly in sandbox (with normal prices), absolutely perfect, but I got this error in Live.

What was happening was a final, pre-announcement, test of Live, we were using a transaction amount of $1.00 and sending $.50, $.10, $.10, $.10, $.10 and leaving $.10 to pay the $.33 fee. (At time of writing, paypal charges 2.9% + $.30). All the answers around the internet were not solving the problem in our case, but this did. Changing the transaction amount to $5 (for testing) worked fine because it left $.50 to pay the $.45 fee ($.45 fee for $5).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!