Sandbox to live problem
Bruce4077980trw
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Oct-27-2020
04:05 AM
Hi,
I am getting an issue when I am changing my paypal sandbox credentials to Live. I am changing client-id and secret and I have also verified these.
Following output i am getting:-
{#311 ▼
+"name": "AUTHORIZATION_ERROR"
+"message": "Authorization error occurred."
+"debug_id": "537e1700ead9e"
+"information_link": "https://developer.paypal.com/docs/api/payments.payouts-batch/#errors"
+"links": []
}
Thanks in advance
1 REPLY 1
MTS_Justin
Moderator
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov-25-2020
05:52 AM
Hello,
When you create a REST application, by default our "sandbox" environment is the chosen environment in which the app will be created. Credentials from a sandbox app will only work in our sandbox environment.
If you want to generate a "client_id" and "client_secret" which can be used in our production environment, you will need to create a "live" app instead, but moving the toggle / switch on the REST app creation page from "sandbox" to "live".
Once the environment has been changed to "live", create a new REST app and the "client_id" and "client_secret" within the app will work in our production environment.
Thanks !
Was my post helpful? If so, please give me a kudos!
When you create a REST application, by default our "sandbox" environment is the chosen environment in which the app will be created. Credentials from a sandbox app will only work in our sandbox environment.
If you want to generate a "client_id" and "client_secret" which can be used in our production environment, you will need to create a "live" app instead, but moving the toggle / switch on the REST app creation page from "sandbox" to "live".
Once the environment has been changed to "live", create a new REST app and the "client_id" and "client_secret" within the app will work in our production environment.
Thanks !
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
- Paypal express checkout, payment they error "Sorry, something went wrong. Please try again." in PayPal Payments Standard
- IPN works in sandbox but not live in Sandbox Environment
- Issue with Rendering Trustly Payment Button via PayPal JavaScript SDK in SDKs
- I met the 422 response, and tries a lot solutions in the community but still not work in REST APIs
- When clicking on a payment button generates error: Unexpected token ... in PayPal Payments Standard