Shortcut to this page: http://faq.ph9.com/faq_question.asp?key=1350&topic=i-get-unexpected-token-error-when-visitors-try-and-pay-using-stripe
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:-



Shortcut to this page: http://faq.ph9.com/faq_question.asp?key=1350&topic=i-get-unexpected-token-error-when-visitors-try-and-pay-using-stripe


© 2024 ph9 Ltd. Any FAQ, guides, advice or acticles here is provided "as is" with no warranty and as per our terms and conditions at www.ph9.com/terms