I'm currently using the JS SDK via this line as described on the Smart Buttons site on Paypal, which is using my sandbox id.
<script src='https://www.paypal.com/sdk/js?client-id=AYwrV-MD9W7255v6j5g4Sp4RBtaTJGNrsQ_246qJObnT4eKa96FptSM0AVQXbWltw_mxhm4_SRQ6JP6U&disable-funding=credit'></script>
If enough time has passed and I come back to visit the page where this is called, the Paypal Smart Buttons don't appear and there's a 400 error in the Chrome console. There are several additional unusual behaviors here.
1) If I just put the address (https://www.paypal.com/sdk/js?client-id=AYwrV-MD9W7255v6j5g4Sp4RBtaTJGNrsQ_246qJObnT4eKa96FptSM0AVQXbWltw_mxhm4_SRQ6JP6U&disable-funding=credit) into Chrome's address bar, I get a "This page isn't working. HTTP Error 400." How can it be an error 400 when the only thing I'm passing is my client-id?!?
2) If I remove the "&disable-funding=credit", same problem.
3) I've tried unloading all my Chrome plug-ins, same problem.
4) If I try my LIVE client-id, same problem.
5) If I clear cache and cookies, same problem.
6) However, if I load the page in Chrome in Incognito Mode it WORKS! (One reason, I thought unloading my plugins above might fix it)
7) If I load the site on my PC in IE(or Edge or whatever its called these days), it WORKS!
😎 If I load it on Chrome or Safari on my iPhone it WORKS!
9) Stranger still, if I get it working on 6,7, or 8 above, the page on my PC in Chrome will suddenly start working.
It's almost as if the address needs a jump start from some device/browser/mode OTHER than standard Chrome on my PC and THEN it starts working on Chrome on my PC (until some amount of time passes and I check it again the next day, for example, and then it'll stop working again). The problem has persisted every day I come back to check it out with the above scenarios for the last several weeks. Any ideas?
... View more