More info: I’m not trying to sync any products, just process credit cards
more info: It looks like the woocomerce square JS is being added 3 times to the page. I see window.wc_square_credit_card_payment_form_handler = new WC_Square_Payment_Form_Handler(… 3 times in the <script> tag just below the closing body tag.
Can you assist at all with this?
Hi there @noahott,
Typically Card Nonce errors are caused by theme issues, where the theme interferes with the data being passed to Square. Plugins can also do this, but most commonly it’s improperly coded theme templates with the payment-form.php area or similar.
As a first step in troubleshooting, I’d recommend changing to the default Twenty Seventeen or Storefront theme and then trying again. You can read more about how to do this at this link:
https://docs.woocommerce.com/document/woocommerce-self-service-guide/
If that doesn’t help, you’ll want to check for plugins that are interfering with the values sent to Square. To do that disable all plugins, except for WooCommerce and the WooCommerce Square. Should this still not work with only these 2 active, please let me know.
Hi @noahott,
Have you been able to find a resolution to this issue? I will mark this as ‘resolved’ for now, however if you reply back it will re-open and we can see it for further assistance. Please let me know if it is not working, and if not what is going on still.
Thanks!
We have the same issue and found out that the theme is causes the problem. Is there any other way to fix the issue without changing the theme?