Hello Jenifer. Sorry for my English... I've seen you responsed any posts about Authentication failed. I have a similar problem and I don't know if you prefer I quest it here or in a new post. I'll do that you think is better. My problem is that I use some plugins to comunicate my page with PayPal, to make payments with credit card. In my Woocommerce shop. All the plugin says I have to use API NVP/SOAP. I copy-paste my id and password. I try with sandbox or production, (correctly) But ever, when I make a payment with credit card, is not possible. With all plugin, the log sais: 2020-04-18T19:49:10+00:00 INFO Got Http response code 401 when accessing https://api.paypal.com/v1/oauth2/token.
[18-04-2020 19:49:10] PayPal\Core\PayPalHttpConnection : INFO: POST https://api.paypal.com/v1/oauth2/token
[18-04-2020 19:49:11] PayPal\Core\PayPalHttpConnection : DEBUG: Request Headers : POST /v1/oauth2/token HTTP/1.1, Host: api.paypal.com, User-Agent: PayPalSDK/PayPal-PHP-SDK 1.14.0 (platform-ver=7.3.16; bit=64; os=Linux_3.10.0-714.10.2.lve1.5.17.1.el7.x86_64; machine=x86_64; crypto-lib-ver=1.1.1f; curl=7.69.1), Authorization: Basic eWVyYmFsaWZlX2FwaTEucm9tLmNhdDpLRkM3V1JUQjlCTE5DNkVR, Accept: */*, PayPal-Partner-Attribution-Id: Palmodule_SP, Content-Length: 29, Content-Type: application/x-www-form-urlencoded, ,
[18-04-2020 19:49:11] PayPal\Core\PayPalHttpConnection : DEBUG: Request Data : grant_type=client_credentials
--------------------------------------------------------------------------------------------------------------------------------
[18-04-2020 19:49:11] PayPal\Core\PayPalHttpConnection : INFO: Response Status : 401
[18-04-2020 19:49:11] PayPal\Core\PayPalHttpConnection : DEBUG: Response Headers : Content-Type: application/json, Content-Length: 77, Connection: keep-alive, Date: Sat, 18 Apr 2020 19:49:12 GMT, Cache-Control: max-age=0, no-cache, no-store, must-revalidate, Paypal-Debug-Id: f5e9f97abccd9, X-Paypal-Token-Service: IAAS, Strict-Transport-Security: max-age=31536000; includeSubDomains,
[18-04-2020 19:49:11] PayPal\Core\PayPalHttpConnection : ERROR: Got Http response code 401 when accessing https://api.paypal.com/v1/oauth2/token. {"error":"invalid_client","error_description":"Client Authentication failed"}
[18-04-2020 19:49:11] PayPal\Core\PayPalHttpConnection : DEBUG: Can you help-me please? Thanks a lot. Àngel
... View more