Hi @teran123,
Thank you for reaching out to us! This particular error is almost always caused by a conflict of either the theme or a plugin on the site. Please follow this thread for steps on how to resolve this.
If it does not resolve this, please reply with the Status Report of the site, found in WooCommerce > Status.
https://pastebin.com/hPfX0kRW
-
This reply was modified 4 years, 11 months ago by
teran123.
Hi there @teran123
I hope you’re well.
Thanks for sharing the status report of your site.
As we mentioned before this kind of issue is usually caused by a theme/plugin conflict.
Please complete the steps below to determine if there is a conflict with your theme/ plugins:
- Temporarily switch your theme to Storefront
- Disable all plugins except for WooCommerce and Square
- Repeat the action that is causing the problem.
If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated.
To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict.
You can find a more detailed explanation on how to do a conflict test here.
Let me know how it goes!
I understand that the problem is with the theme, but I am a theme developer and cannot trace the cause deeper.
Hi there
Tracking the error you mention would be your best best:
Uncaught FormNotReadyError: Cannot call SqPaymentForm#requestCardNonce before the paymentFormLoaded() callback.
It seems the card nonce is being requested before the entire payment form is loaded/initialized. This may have something to do with the way the form is being called but hidden.
This means the payment form is missing the required nonce.
The error does mention further documentation: See Step 4: https://developer.squareup.com/docs/payment-form/how-it-works#the-sqpaymentform-process-flow
We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.