简体   繁体   中英

Paypal Sandbox payment state pending

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?

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.

这是同样的问题, paypal状态正在等待,所以答案应该是相同的,只需检查卖家在沙盒帐户上的销售偏好,如Max-P说,这只是paypal上不同的货币和配置问题

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM