Hi, We need technical support to debug a paypal api resonse error message. We are using paypal node js rest sdk (https://www.npmjs.com/package/paypal-rest-sdk) to perform payments. When we hit the create payment api we are receiving UNAUTHORIZED_PAYMENT error. Sample payload: { "transactions" : [ { "amount" : { "currency" : "USD", "total" : "1" }, "description" : "This is the payment description." } ], "redirect_urls" : { "return_url" : "http://return.url", "cancel_url" : "http://cancel.url" }, "intent" : "sale", "payer" : { "payment_method" : "paypal" } } Response ```{ "status": { "code": 400, "paypalError": { "response": { "name": "UNAUTHORIZED_PAYMENT", "message": "Unauthorized payment.", "information_link": "https://developer.paypal.com/docs/api/payments/#errors", "debug_id": "788aab7ddeb23", "httpStatusCode": 401 }, "httpStatusCode": 401 } } }``` As show in above response message, UNAUTHORIZED_PAYMENT is coming. We have double checked client id and secret, that information is correct. Also, the Sandbox mode is working fine, but not the Live. Debug id: 3e18cd5c26314 We need some technical support to figure possible cause behind this issue. Thanks in advance.
... View more