stopgg
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Jan-19-2018
11:26 PM
Hello. I integrated system PayPal-PHP-SDK in the my site. Testing sandbox method - it's ok! I dont see error. After i switch system in live mode, starting test, generated site errors. Log paypal:
[20-01-2018 09:55:17] PayPal\Core\PayPalHttpConnection : INFO: POST https://api.paypal.com/v1/oauth2/token [20-01-2018 09:55:18] PayPal\Core\PayPalHttpConnection : INFO: Response Status : 401 [20-01-2018 09:55:18] 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"}
I dont know how check and fix this error. Tell me please, how fix this error? Where, that check and run system in live mode? Any ansew save me. Thanks.
P.S. Sorry at my crooked english.
Solved! Go to Solution.
1 ACCEPTED SOLUTION
Accepted Solutions
MTS_Justin
Moderator
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan-22-2018
02:12 AM
Hello,
"invalid_client" - Did you change your "client_id" to the production / live version when you switched your system to live mode ?
Was my post helpful? If so, please give me a kudos!
"invalid_client" - Did you change your "client_id" to the production / live version when you switched your system to live mode ?
Was my post helpful? If so, please give me a kudos!
2 REPLIES 2
MTS_Justin
Moderator
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan-22-2018
02:12 AM
Hello,
"invalid_client" - Did you change your "client_id" to the production / live version when you switched your system to live mode ?
Was my post helpful? If so, please give me a kudos!
"invalid_client" - Did you change your "client_id" to the production / live version when you switched your system to live mode ?
Was my post helpful? If so, please give me a kudos!
stopgg
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan-22-2018
03:31 AM
Thanks. I checked account and activate live mode. For my api generated new data (client_id and secret). I update config file and testing pay. It's working! Quest finished.
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
- 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
- Error: "Unable to change shipping method. Please try again." in PayPal popup in REST APIs
- Simple Paypal button integration results in 404 error in Sandbox Environment
- payee account invalid in Sandbox Environment