Support » Plugin: WooCommerce Square » Getting errors when processing orders

  • Resolved maxinerappleby

    (@maxinerappleby)


    This just happened with the last update of WooCommerce – help!

    01-31-2019 @ 13:43:06 – Info: Begin processing payment for order 5706 for the amount of 72.00
    01-31-2019 @ 13:43:08 – Error: Array
    (
    [0] => stdClass Object
    (
    [category] => INVALID_REQUEST_ERROR
    [code] => MISSING_REQUIRED_PARAMETER
    [detail] => Missing required parameter.
    [field] => card_nonce
    )

    )

    01-31-2019 @ 13:45:12 - Info: Begin processing payment for order 5706 for the amount of 72.00
    01-31-2019 @ 13:45:14 - Error: Array
    (
    [0] => stdClass Object
    (
    [category] => INVALID_REQUEST_ERROR
    [code] => IDEMPOTENCY_KEY_REUSED
    [detail] => The idempotency key can only be retried with the same request data.
    [field] => idempotency_key
    )

    )

    01-31-2019 @ 14:51:19 - Info: Begin processing payment for order 5707 for the amount of 5.00
    01-31-2019 @ 14:51:19 - Error: Array
    (
    [0] => stdClass Object
    (
    [category] => INVALID_REQUEST_ERROR
    [code] => MISSING_REQUIRED_PARAMETER
    [detail] => Missing required parameter.
    [field] => card_nonce
    )

    )

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Phil

    (@fullysupportedphil)

    Automattic Happiness Engineer

    @maxinerappleby the first and last error in your logs (Missing required parameter > card_nonce) relate to information not being properly passed to Square. We’ll want to address that issue first.

    On a staging site, please follow our guide on how to test for conflicts:
    https://docs.woocommerce.com/document/woocommerce-self-service-guide/#section-4

    When using the default Twenty Nineteen or Storefront them, try some test transactions and see if the card_nonce error is resolved. If not, next disable ALL plugins, except for WooCommerce and Square and then try again.

    If either of those steps resolves the card_nonce error, please check to see if the IDEMPOTENCY_KEY_REUSED still occurs. If it does, please open a ticket with our team so we can have a further look at your site. You can do that at WooCommerce.com > My Account > Tickets? You may need to create an account. When opening the ticket, please make sure to select the Square plugin. We will be able to help you further there.

    If everything works once you disable your other plugins/theme, you can reactivate them until you find the cause of the issue. Once you’ve found the cause make sure that plugin or them is up to date and then contact its developer to have them correct their code.

    Phil,

    I found the Genesis Responsive slider was conflicting with my images and that is why they were not displaying. After those came back I unistalled Square and re-installed.

    All is good. Sorry for the problems. Thank you for the support.

    Plugin Support Phil

    (@fullysupportedphil)

    Automattic Happiness Engineer

    Glad to hear that those trouble shooting steps helps. If you do any problems in the future, please let us know.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Getting errors when processing orders’ is closed to new replies.