I get unexpected token error when visitors try and pay using Stripe

You get an error message such as "Unexpected token" when visitors try and pay using Stripe in your website's checkout.
Why this happens
This will usually happen if you have payment methods enabled on your website manager which you have not enabled in the Stripe dashboard.
For example, you have enabled Klarna on your website manager, but you have not enabled it in your Stripe dashboard.
What to do
Make sure that all the payment methods you have enabled in your website manager match the payment methods you have enabled in your Stripe dashboard.
You can access your stripe dashboard at:-
You can see the FAQs here:-
