3

So I have been using paypal smart buttons for months in my localhost for testing and it worked fine but it suddenly stopped working. this is the error message enter image description here

what's the cause of this?

Melly
  • 675
  • 8
  • 24
  • How are you integrating the buttons? Are you [using the JavaScript SDK](https://developer.paypal.com/docs/checkout/integrate/)? It might help to show your code. – showdev Nov 18 '21 at 02:46
  • Voting to close due to lack of details, but that message has nothing to do with your problem – Preston PHX Nov 18 '21 at 04:14

2 Answers2

1

I am not 100 % sure but I think this error appears just if you use sandbox api credentilas. Had the same error using sandbox api key and found nothing in the whole wide web to fix that error. But if I use a live api key the error seems to be gone

sandermann
  • 21
  • 4
  • This does not really answer the question. If you have a different question, you can ask it by clicking [Ask Question](https://stackoverflow.com/questions/ask). To get notified when this question gets new answers, you can [follow this question](https://meta.stackexchange.com/q/345661). Once you have enough [reputation](https://stackoverflow.com/help/whats-reputation), you can also [add a bounty](https://stackoverflow.com/help/privileges/set-bounties) to draw more attention to this question. - [From Review](/review/late-answers/31503246) – HariHaravelan Apr 12 '22 at 12:05
0

Try with another browser like Firefox and without additional settings, the connection error can sometimes be caused by cookies or extensions.

  • Seems like if you know what he's talking about (paypal subscriptions) you have enough data. PayPal buttons are pretty specific and they essentially give you the complete code. Only thing unique is Client ID and Plan ID. Melly, did you ever find out why you got the error or how to fix it? – Velocedge Jun 29 '23 at 10:58