Home > OS >  PayPal JS SDK loading in sandbox mode with live clientid?
PayPal JS SDK loading in sandbox mode with live clientid?

Time:09-19

So I changed the client id of my PayPal SDK to the live client id but it's still loading in sandbox mode and doesn't accept payments from real PayPal accounts

Screenshot

CodePudding user response:

The only explanation for what is shown in the screenshot is you must actually be using a sandbox clientid value (either your own sandbox account, or test) somewhere on the page. Inspect it in your browser's developer tools or network tab and you will find the actual URL the script is being loaded with.

If you still aren't to resolve this, you need to include a full sample or other way to reproduce the issue in your question.

  • Related