• Resolved aahijado89

    (@aahijado89)


    Hi, I have a problem on my e-commerce website. When I place an order, the order is received and the payment is processed, but the checkout page stays in a pending state and, if you check the console, it shows a 500 error.

    The exact URL causing the error is: https://machotebrand.com/wp-json/wc/store/v1/checkout?_locale=user

    And this is the error: {“code”:”woocommerce_rest_missing_nonce”,”message”:”The Nonce header is not available. This variable needs a valid nonce.”,”data”:{“status”:401}}

    I have deactivated all plugins except WooCommerce and I am still experiencing the same issue, so I am not sure what to do next.

    Thank you in advance.

    Best regards!

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello ??@aahijado89,

    Thanks for reaching out.

    Looking at the error message, it seems like the issue is related to a missing nonce.

    Since you’ve already deactivated all other plugins and the problem persists, the next steps would be to:

    1. Ensure that your WooCommerce and WordPress versions are up-to-date. If not, please update them.
    2. Check your theme. Temporarily switch to a default WordPress theme like Twenty Twenty-Four or Storefront to see if the problem persists. If it doesn’t, the issue might be with your current theme.
    3. If none of the above steps solve the issue, it might be worth reinstalling WooCommerce.

    Please let us know how these steps work out for you or if you need further assistance.

    Thread Starter aahijado89

    (@aahijado89)

    Hi! Thank you so much for your help. My error was due to the MailPoet plugin. It wasn’t fully installed, which caused the checkout page to never finish because it couldn’t send the order email.

    Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Checkout Error 500 with WooCommerce on Order Completion’ is closed to new replies.