Client Authentication failed in live mode in rest api
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Payment works with sandbox credentials. But in live mode, it throws error
PayPal\Core\PayPalHttpConnection : INFO: POST https://api.paypal.com/v1/oauth2/token
PayPal\Core\PayPalHttpConnection : INFO: Response Status : 401
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"}
what i have done:
Double checked client, secret IDs
changed mode to live in my code.
I'm using personal account. First i created account(merchant account type) in developer account. then createad live rest api. Then coppied IDs to my code. I usesd PayPal-PHP-SDK library. Why should im getting these error? Do i need to convert my personal to business account?
thanks for help
- Labels:
-
Payments REST APIs
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Change the button from Sandbox to Production in REST APIs
- When I do PayPal capture Order, I keep on getting Invalid Request Connection in REST APIs
- Webhook deregistration issue and event validation issue in REST APIs
- Problem setting up Third-Party API Users in NVP/SOAP APIs
- Payment not automatically being captured, funds not transferred in Sandbox Environment