cancel
Showing results for 
Search instead for 
Did you mean: 

Who Me Too'd this topic

Unable to perform credit card payment in production

paulwoodring
Contributor
Contributor

Hi Support team,

 

I have a website that is developed in php and i sucesfully integrated PayPal-PHP-Sdk. Using the sdk i performed credit card payment it is working as expected in sandbox but not in live, below are my log's  in production. Could you please guide me to resolve this.

 

[17-11-2017 03:23:48] PayPal\Core\PayPalHttpConnection : INFO: POST https://api.paypal.com/v1/oauth2/token
[17-11-2017 03:23:49] PayPal\Core\PayPalHttpConnection : INFO: Invalid or no certificate authority found - Retrying using bundled CA certs file
[17-11-2017 03:23:50] PayPal\Core\PayPalHttpConnection : INFO: Response Status     : 200
[17-11-2017 03:23:50] PayPal\Core\PayPalHttpConnection : INFO: POST https://api.paypal.com/v1/vault/credit-cards
[17-11-2017 03:23:50] PayPal\Core\PayPalHttpConnection : INFO: Invalid or no certificate authority found - Retrying using bundled CA certs file
[17-11-2017 03:23:51] PayPal\Core\PayPalHttpConnection : INFO: Response Status     : 201
[17-11-2017 03:23:51] PayPal\Core\PayPalHttpConnection : INFO: GET https://api.paypal.com/v1/vault/credit-cards/CARD-5PG687970N058774GLIHLDDQ
[17-11-2017 03:23:52] PayPal\Core\PayPalHttpConnection : INFO: Invalid or no certificate authority found - Retrying using bundled CA certs file
[17-11-2017 03:23:53] PayPal\Core\PayPalHttpConnection : INFO: Response Status     : 200
[17-11-2017 03:29:23] PayPal\Core\PayPalHttpConnection : INFO: POST https://api.paypal.com/v1/payments/payment
[17-11-2017 03:29:23] PayPal\Core\PayPalHttpConnection : INFO: Invalid or no certificate authority found - Retrying using bundled CA certs file
[17-11-2017 03:29:24] PayPal\Core\PayPalHttpConnection : INFO: Response Status     : 401
[17-11-2017 03:29:24] PayPal\Core\PayPalHttpConnection : ERROR: Got Http response code 401 when accessing https://api.paypal.com/v1/payments/payment. {"name":"UNAUTHORIZED_PAYMENT","message":"Unauthorized payment.","information_link":"https://developer.paypal.com/docs/api/payments/#errors","debug_id":"fbfd36faa8462"}
[17-11-2017 03:30:24] PayPal\Core\PayPalHttpConnection : INFO: POST https://api.paypal.com/v1/payments/payment
[17-11-2017 03:30:24] PayPal\Core\PayPalHttpConnection : INFO: Invalid or no certificate authority found - Retrying using bundled CA certs file
[17-11-2017 03:30:25] PayPal\Core\PayPalHttpConnection : INFO: Response Status     : 401
[17-11-2017 03:30:25] PayPal\Core\PayPalHttpConnection : ERROR: Got Http response code 401 when accessing https://api.paypal.com/v1/payments/payment. {"name":"UNAUTHORIZED_PAYMENT","message":"Unauthorized payment.","information_link":"https://developer.paypal.com/docs/api/payments/#errors","debug_id":"2ec0637f47e3"}

 

 

Login to Me Too
Who Me Too'd this topic