• Resolved Mike

    (@avagolf)


    We need to get this resolved. All payments are failing due to: Payment Nonce Missing

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    I completely understand how critical this is when payments are failing, it needs immediate attention. Let’s work through this together and get to the root of it.

    The “Payment Nonce Missing” error is commonly caused by a conflict or something interrupting the checkout request.

    To help narrow this down, could you please confirm:

    • Which payment methods are currently enabled in your Square for WooCommerce settings?
    • Did this start after any recent changes (plugin/theme updates, new plugins, custom code, etc.)?

    I also found a similar case where another user experienced the same issue, and it was caused by a plugin conflict. You can review it here:
    https://ww.wp.xz.cn/support/topic/payment-nonce-is-missing-error-with-square-at-checkout/#post-18711616

    It would also really help if you could check the following:

    • Go to WooCommerce → Status → Logs and look for any fatal error logs or Square-related logs around the time the payment failure occurs. Please share those with us.
    • Open your browser console (Ctrl + Shift + I → Console tab), try placing an order again, and let us know if you see any error messages there.

    To assist you further, I’d also like to understand your site setup better. Please share your System Status Report which you can find via WooCommerce > Status

    Please use https://pastebin.com/ or https://gist.github.com/ and share a link to that paste in reply here. Once we have more information, we’ll be able to assist you further.

    Thread Starter Mike

    (@avagolf)

    Good morning and thank you for the prompt reply. I also apologize for my frustration. The number of issues we have, and the re-occurance of these, has led to this frustration. I appreciate your willingness to get things resolved for me once and for all.

    At the time of posting this, i had disabled the Square Payment Plugin (and was instead attempting to use the FunnelKit Payment Gateway for Square WooCommerce Plugin). Now these are both enabled. Please see website: http://www.avalongolf.co (and try checkout with Square test credit card number then you will get the error message: Payment Nonce is Missing)

    I did review the other support topic (link you provided above) and while we do use WP Rocket for caching, we do not do any caching on checkout pages.

     We do exclude the following JavaScript Files:
    /wp-content/plugins/woocommerce-square/assets/js/
    woocommerce-square
    funnelkit-payment-gateway-square-for-woocommerce/assets/js/smart-button
    funnelkit-payment-gateway-square-for-woocommerce/assets/js/card-payment-form
    funnelkit-payment-gateway-square-for-woocommerce/assets/js/add-payment-method

    And exclude javascript file keywords:
    square
    wc-square
    squareup
    sq-payment
    square-payment-form
    woocommerce-square
    checkout
    payment

    Is there anything im missing to exclude in javacript files or keywords?

    Ive checked logs and can see some issues/errors with the Square plugin.

    Ex. Square: failed Creating token multiple user exists in table

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thank you for sharing more details about the issue. I tried placing an order using a Square test card, but I received a “card invalid data” error. Could you please confirm whether Square is currently set to sandbox mode or live mode?

    Also, regarding the error you shared “failed Creating token multiple user exists in table”

    This log entry suggests there may be an issue when the plugin tries to create or map a customer/token in Square if multiple matching users exist.

    • Please confirm whether the error in the Square logs appears every time you see “Payment Nonce Missing”, or if it also appears in other situations.
    • If possible, share a recent Square log (redacting any sensitive data) from WooCommerce → Status → Logs, so we can review the full context.

      If you’re currently using Square in live mode, could you please create a staging site and deactivate all plugins except WooCommerce and WooCommerce Square? Then enable Square sandbox mode and share the staging site URL with us.

      I’d like to place a test order to check whether the same issue occurs when only WooCommerce and the Square plugin are active. I’ve tried to replicate this on my end but wasn’t able to reproduce the issue, which suggests there may be something specific in your site environment causing it.

      You can use a staging plugin to safely create a copy of your site so your live site remains unaffected. In the meantime, you may keep the Square plugin disabled on your live site until we resolve the issue on staging.

      Most important could you please share your System Status Report which you can find via WooCommerce > Status

      Please use https://pastebin.com/ or https://gist.github.com/ and share a link to that paste in reply here. Once we have more information, we’ll be able to assist you further.

      Regarding caching exclusions you’ve already done a solid job there. Nothing obvious seems missing in your exclusion list. However, even with exclusions, tools like WP Rocket can still interfere via:

      • JavaScript delay/defer
      • Minification/combination

      Once we have a clean setup on the staging site, we’ll be in a much better position to identify the root cause of the issue. Thank you for your cooperation and understanding.

      Thread Starter Mike

      (@avagolf)

      Good morning Guys, i was able to figure out the root of this issue. This issue was NOT with your plugin, it came from a conflict with another plugin (FunnelKit Payment Gateway for Square). We had these two working in unison (successfully) however, after their latest update, it caused a conflict (their plugin caused the Payment Nonce error – which also led to your plugin getting this same error somehow (*likely due to both plugins using the same Square.js file). So this is resolved. Any my apologies for not recognizing this sooner. This can be marked as Resolved now.

      Thank you!

      Plugin Support LovingBro (woo-hc)

      (@lovingbro)

      Hi @avagolf,

      Thank you for the update, I appreciate you taking the time to circle back with your findings. It’s great to hear you were able to track this down to a plugin conflict, that kind of issue can definitely be tricky to pinpoint.

      No issues at all, glad you’ve identified the conflicting plugin. The next step would be to reach out to the developers of the FunnelKit plugin so they can review the conflict on their end and help ensure compatibility moving forward.

      I’ll go ahead and mark this topic as resolved. If anything else comes up or you need a hand with anything further, feel free to reply here or open a new thread anytime.

      If you have a moment, we’d really appreciate it if you could leave a review for WooCommerce Square based on your experience. It helps other merchants make informed decisions and supports the continued improvement of the plugin: https://ww.wp.xz.cn/support/plugin/woocommerce-square/reviews/#new-post

      Thread Starter Mike

      (@avagolf)

      Thanks guys, just to report back, we had the developers do some further testing on the site and they claim the Payment nonce error was being caused by your plugin. Saying that, as we seem to have gotten things resolved now, no need to escalate anything further. Thank you again!

      Plugin Support shahzeen(woo-hc)

      (@shahzeenfarooq)

      Hi there,

      Thanks for taking the time to report back I appreciate the update.

      I’m glad to hear that things are now working on your end and the issue has been resolved.

      Don’t hesitate to get in touch if anything else comes up.

    Viewing 7 replies - 1 through 7 (of 7 total)

    You must be logged in to reply to this topic.