Paypal Live Mode Issue

Laraship QuestionsCategory: TechnicalPaypal Live Mode Issue
Isuru Welivitigoda asked 6 years ago

Hi there

We are integration Paypal Rest API here https://getitinerary.com/ . REST API Payments get error 401 UNAUTHORIZED when using live credentials, in testing credentials all working ok. Below you will see the debug id and error message. Can you please look into this

[21-10-2018 04:44:04] PayPalCorePayPalHttpConnection : INFO: POST https://api.paypal.com/v1/oauth2/token

[21-10-2018 04:44:04] PayPalCorePayPalHttpConnection : INFO: Response Status : 200

[21-10-2018 04:44:04] PayPalCorePayPalHttpConnection : INFO: POST https://api.paypal.com/v1/payments/payment

[21-10-2018 04:44:05] PayPalCorePayPalHttpConnection : INFO: Response Status : 401

[21-10-2018 04:44:05] PayPalCorePayPalHttpConnection : 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":"dfe6720d1ef30"}

Thank you

1 Answers
laraship Staff answered 6 years ago

Hi Isuru Welivitigoda,

The error indicates that your PayPal credentials are not correct