Paypal Sandbox payment state pending

a 夏天 提交于 2019-12-09 13:03:01

问题


I am using the (Java) Rest API to perform payments directly from credit cards in the sandbox. The payments all receive "pending" status, which according to the docs (https://developer.paypal.com/webapps/developer/docs/api/#create-a-payment) is not even a valid state to be returned by the payment create call. Payment review is disabled.

I would like to see the process through and complete the transaction. How do I do that in the sandbox? Or should I receive a different state right away?


回答1:


Under http://developer.paypal.com, Application tab, find out the email associated to the REST app. Now click on "Sandbox accounts", Click on the REST app email, click on "Profile" link. Select "Setting" tab, and turn off "Payment review". You shall get "Approved" payment and "Completed" Sale json object.




回答2:


this is the same issue with paypal status is pending so answer should be the same, just check the seller's selling preferences on the sandbox account like Max-P said, this is just different currency and config issue on paypal



来源:https://stackoverflow.com/questions/18193446/paypal-sandbox-payment-state-pending

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