Invalid client-id for production
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just started receiving this error when loading the script in our development environment.
Uncaught Error: Invalid client-id for production: AZDxjDScFpQtjWTOUtWKbyN_bDt4OgqaF4eYXlewfBP4-8aqX3PiV8e1GWU6liB2CUXlkA59kJXE7M6R
I'm using the following script src address:
https://www.paypal.com/sdk/js?disable-funding=credit,card&client-id=sb
My understanding of the recent documentation is that the environment is determined from the client-id now, and that sb is a valid sandbox id.
- Labels:
-
API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have the same problem and it really hinders my progress integrating paypal in my project.
It just spontaneously starts giving this error, and spontaneously stops, for no apparent reason.
This is the url I use:
The problem does not happen on other computers I was able to test. Just on my specific computer. Using Google Chrome's Incognito mode or clearing the browser cache does not fix the problem. It's hardly Ip-related because both computers are on the same local network, so paypal server sees the same Ip address for both computers. If I change the client Id for 'sb', the link works. If I change intent=authorize for intent=capture, the link works.
For now I change the client id to 'sb' as soon as the problem happens, but I would appreciate fixing the problem for good.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Just started developing with PayPal
According to instruction it should work with my sandbox id.
Sadly it doesn't!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- IPN SHOWS NO HTTP RESPONSE - LISTENER WORKS WITH LOCAL FORM POST in Sandbox Environment
- INVALID_RESOURCE_ID in Sandbox Environment
- Why am I not seeing HTTP responses for IPN? in Sandbox Environment
- Error initializing PayPal card fields: Error: Expected prop "clientID" to be defined. in SDKs
- failed to load the PayPal JS SDK script TypeError: Load failed in SDKs