• Resolved noahott

    (@noahott)


    I am unable to process credit cards through Square. I receive this error in the console: Uncaught FormNotReadyError: Cannot call SqPaymentForm#requestCardNonce before the paymentFormLoaded() callback.
    And this error in the WooCommerce Square Debug log: Payment nonce is missing

    I have followed your instructions to disable and delete the plugin, reinstall and reconnect as found in this issue: https://www.ads-software.com/support/topic/square-payments-not-working-in-2-0-3-worked-fine-in-1-0-38/

    I still get the same errors every time. I’m using the latest version of the plugin 2.0.4. Can you provide any assistance?

    Thanks,
    Noah

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter noahott

    (@noahott)

    More info: I’m not trying to sync any products, just process credit cards

    Thread Starter noahott

    (@noahott)

    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!

    kEs

    (@kesly13)

    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?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Payment nonce is missing’ is closed to new replies.