php - PayPal INSTRUMENT_DECLINED error after switching to Live application when using Guest flow -


when try execute approved paypal payment done using guest flow, rather logging in existing paypal account (which works fine). error instrument_declined received.

i've used multiple payment cards, have sufficient funding. same ones used when logging in paypal account don't work, work fine when connected paypal account.

the full response follows:

[18-08-2017 11:44:53] paypal\core\paypalhttpconnection : info: post https://api.paypal.com/v1/payments/payment/pay-xxxxx/execute [18-08-2017 11:44:56] paypal\core\paypalhttpconnection : info: response status  : 400 [18-08-2017 11:44:56] paypal\core\paypalhttpconnection : error: got http response code 400 when accessing https://api.paypal.com/v1/payments/payment/pay-xxxxx/execute. {"name":"instrument_declined","details":[],"message":"the instrument presented  either declined processor or bank, or can't used payment.","information_link":"https://developer.paypal.com/docs/api/payments/#errors","debug_id":"xxxx"} 

paypal account response:

[18-08-2017 12:45:27] paypal\core\paypalhttpconnection : info: response status  : 200 [18-08-2017 12:45:27] paypal\core\paypalhttpconnection : info: post https://api.paypal.com/v1/payments/payment/pay-xxxx/execute 

sandbox response:

[18-08-2017 01:24:17] paypal\core\paypalhttpconnection : info: response status  : 200 [18-08-2017 01:24:17] paypal\core\paypalhttpconnection : info: post https://api.sandbox.paypal.com/v1/payments/payment/pay-xxxx/execute 

it seems though guest checkout requires configuration enable guest checkout, that's linked live api key or respect. i've checked everywhere can't find make difference.

i'm using php sdk. not sure if cause, or there's involved in cause this.

any appreciated.

thanks!


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -