I have noticed I get the error when I enter in the default test card, ex date and cvc number.
Then when i just click submit order again after the error appears it goes through.
Plugin Support
Hannah S.L.
(@fernashes)
Automattic Happiness Engineer
Hey there!
This error is almost always caused by a theme or plugin conflict – though it doesn’t usually go through on the second attempt.
The best way to determine if the issue is being caused by a theme and/or plugin is to do the following:
1. Temporarily switch your theme back to the [Twenty Sixteen](https://ww.wp.xz.cn/themes/twentysixteen/) Theme.
2. Disable all plugins except for WooCommerce and Stripe.
3. Test to see if the issue has been resolved.
If that resolves the issue, then slowly re-enable features until you find the one that’s causing the conflict.
Okay well I have done that and I think it works,
How does the plugin get the address fields?
As my address fields are hidden on the page would that effect it?
(their hidden till you click edit but they still are there)
Plugin Support
Hannah S.L.
(@fernashes)
Automattic Happiness Engineer
I’m not sure what you mean – the plugin grabs the address fields that are on the page. If it can’t grab them, it won’t be able to complete the payment. In that case, you’d see an error regarding the address, though.
Whats the best way to work out what’s causing it to throw the error.
I am running jquery 1.12 if that makes any difference.
Im guessing its to do with the non-standard layout that out checkout page is using.
I have just been looking through stripe.js
Are there any other files that I might need to check?
Plugin Support
Hannah S.L.
(@fernashes)
Automattic Happiness Engineer
I’m afraid we only support standard usage of the Stripe plugin and don’t go into customization of it. Someone else may be able to chime in and help, though.
The best thing to do is make sure that Stripe is working correctly in a basic situation (just WooCommerce, Stripe and the Twenty Seventeen theme). Once you’re sure it’s working, build up your changes from there to see where it may be going wrong.
Well I can see the token ajax request completing but it doesn’t get any further.
When however I inspect the code and step over it does work. Almost like slowing it down does the job.
Would you have any idea as to why stepping over the code in the inspector makes it work?
Plugin Support
Hannah S.L.
(@fernashes)
Automattic Happiness Engineer
I’m not sure – the code works correctly on non-customized sites. I’m sorry I can’t help you further with this!