Paypal Sandbox Business Account not credited and Buyer is not debited

╄→尐↘猪︶ㄣ 提交于 2019-11-29 17:00:55

The reason that your transaction is showing pending is because you processed this as an order. You can also see the pending reason in the response that you provided.

PAYMENTINFO_0_PENDINGREASON=order

You need to go back now and perform a transaction against the order to actually charge the buyer and this will move the funds from the buyer account to the seller account. For example you can go back and perform an Authorization against the order using the DoAuthorization API and then once that is completed you can run the DoCapture API to complete the purchase.

If you are not wanting to process the transaction as an order initially, you can process it as a "Sale" rather than an "Order", and this will take the money up front when you complete the DoExpressCheckoutPayment API call.

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