Support » Plugin: WooCommerce Square » Square payment failed card_once error

  • Resolved postmagthemes


    I am using square to process payments. What’s happening is that the payment fails, leaving an error:
    Array ( [0] => stdClass Object (
    [category] => INVALID_REQUEST_ERROR
    [detail] => Missing required parameter.
    [field] => card_nonce ) )
    Order status changed from Pending payment to Failed.
    I've then disabled all plugins except woocommerce and woosquare. I get the same error. Can you help me correct this?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Mike W


    Hi @postmagthemes,

    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 themes.

    As a first step in troubleshooting, I’d recommend changing to the default Twenty Seventeen or Storefront theme and then trying again.

    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.

    We do recommend a staging site for these tests so that your Live site is unaffected. A staging site is a clone or copy of the Live site, used for testing. You can reach out to your Host if you need to have a staging site set up, as they usually can assist you with this.

    Health Check is a tool that can be useful for debugging, though it requires an official default theme like Twenty Seventeen. On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you while you’re logged in to that session without affecting normal visitors to your site.

    Plugin Support Thomas Shellberg


    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.