Client Authentication failed - Switch to Live Mode
extraMusic
New Community Member
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Apr-26-2018
05:05 AM
Hi,
i have build a simple shop and want to use my PayPal Plus Account, so users can pay per PayPal, Credi Card and Bank Account.
In Sandbox Mode everything works perfect, but when i switch to Live Mode an use the Live credentials for my app i got this:
{"error":"invalid_client","error_description":"Client Authentication failed"}
I have tried 3 different Apps now, but nothing worked.
Do i have to make an review process or something like that to use it in Live Mode?
2 REPLIES 2
fresonmx
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr-26-2018
12:40 PM
Did you switch the environment to production?
paypal.Button.render({
env: 'production',
client: {
sandbox: 'XXXX',
production: 'XXX'
},

Moderator
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr-27-2018
05:53 AM
Hello,
As @fresonmx mentioned, the most common cause of this issue is that your submitting the REST API request to sandbox endpoint instead of a production one.
For example - Payments API
// SANDBOX
https://api.sandbox.paypal.com/v1/payments/payment
// PRODUCTION
https://api.paypal.com/v1/payments/payment
Was my post helpful? If so, please give me a kudos!
As @fresonmx mentioned, the most common cause of this issue is that your submitting the REST API request to sandbox endpoint instead of a production one.
For example - Payments API
// SANDBOX
https://api.sandbox.paypal.com/v1/payments/payment
// PRODUCTION
https://api.paypal.com/v1/payments/payment
Was my post helpful? If so, please give me a kudos!

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- Error message for obtaining access_token in REST APIs
- Error creating an order for cupture - Issues with Authorization header in Braintree Server-side Integration (PHP, Java, .NET, Ruby, Python, NodeJS SDKs)
- Client Authentication failed in REST APIs
- Secure Token Creation for Payflowpro Integration in Payflow
- Authorization failed due to insufficient permissions. Invalid Scopes in Sandbox Environment