WooCommerce: Order Creation Invalid Response

Scheduled Order Processing Error Code

What This Means

Your connected WooCommerce Site responded to QPilot's request to create the WooCommerce Order with an invalid order: an order that is missing items or missing a total amount for the order.

  • WooCommerce Order Status: Unknown
    • The Order was created but is invalid (missing items or an order total).
    • The status of the Order in WooCommerce is "Incomplete" "Pending Payment", or "On Hold"
  • Payment Processing Status: No request to the payment gateway has been made
  • Scheduled Order Status: Failed
    • This is a Processing error so the Scheduled Order status is set to "Failed" after the WooCommerce site returns an invalid Order.

Common Causes

  • Temporary site issue or outage
  • Code errors in your WordPress Site's plugins or theme
  • Server activities such as Caching are causing an invalid response to QPilot's Create Order (POST) request

Suggested Next Steps

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

    • The Order Creation Response will display the actual response that your connected client returned after the request to create an order was made. This response may help you identify which required fields are missing or invalid. The response may also help to 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.
    • For more details on troubleshooting errors on your WordPress site, please see our detailed Troubleshooting Guide.

After Resolving The Issue

  1. The created Invalid Order in WooCommerce should be deleted. To identify the Invalid Order in WooCommerce that should be deleted, you can check the following:

  2. After the Invalid Order in WooCommerce is deleted, use the action to Restart Processing the Failed Scheduled Order.