3000: HTTP 500 Error - WooCommerce Order Creation Failure

What This Means

This error means that your connected WooCommerce Site responded to QPilot's (POST) request to create a new order in WooCommerce with an HTTP 500 error, also known as a "fatal error".

This type of error can be caused by a code error in your WooCommerce Site or by an error on your server (your WordPress Hosting Provider), and the source of the error must be tracked down and resolved.

  • WooCommerce Order Status: Unknown
    • If an order was created in WooCommerce, it is incomplete and may be displaying a status of "Pending Payment", "On Hold" or "Failed"
  • Payment Processing: No payment was processed. A valid order must first be created successfully before a payment request is made for the created order.
  • Scheduled Order Status: Failed
    • This is a Processing error so the Scheduled Order status is set to "Failed"

Common Causes For This Error

  • Code errors in your WordPress Site's plugins or theme
  • Hosted server error (check with your hosting provider)

Suggested Next Steps

  1. Review the Order Creation Response for the Scheduled Order's Processing Cycle for more details.

    • The Order Creation Response will show you what your WooCommerce Site returned after the Order was created via the WooCommerce REST API. This response may help you identify a specific error in your site's response.
  2. Check your Autoship Log File in the WordPress Admin ( WP-Admin > Autoship Cloud > Settings >> Logs (tab) ).

    • If your site responded to QPilot with an error, the error may be recorded in the Log File.
  3. Review your WordPress Site's error log (also known as the "debug log") to review the specific error(s).

    • If your site is experiencing an error, and your site has the error log enabled, then you will be able to see a more detailed record of the error on your site so that you can troubleshoot and resolve the error.
    • Pro Tip! Searching for "500" in your error log can usually point out the errors preceding the 500 error.
    • For more details on troubleshooting errors on your WordPress site, please see our detailed Troubleshooting Guide.
  4. If you are unable to track down the error on your WordPress Site, you should contact your WordPress Hosting Provider and ask them to review the Server Error Log for a recent 500 error when making a POST request to create a new order via the WooCommerce REST API.

  5. Before attempting to continue processing the Scheduled Order, you should test & verify your site's WooCommerce REST API and its ability to create a valid order in WooCommerce.

After Resolving The Issue

Once resolved, you should use the action to Continue Processing the Failed Scheduled Order.