java - Paypal Sandbox payment state pending -


i using (java) rest api perform payments directly credit cards in sandbox. payments receive "pending" status, according docs (https://developer.paypal.com/webapps/developer/docs/api/#create-a-payment) not valid state returned payment create call. payment review disabled.

i see process through , complete transaction. how do in sandbox? or should receive different state right away?

under http://developer.paypal.com, application tab, find out email associated rest app. click on "sandbox accounts", click on rest app email, click on "profile" link. select "setting" tab, , turn off "payment review". shall "approved" payment , "completed" sale json object.


Comments

Popular posts from this blog

vb.net - Alternative to the T-SQL AS keyword -

php - MySQLi binding parameters in a prepared statement doesn't work unless inserted after "WHERE" -

ios - CFRelease causing crash in iPad application -