Viewing 1 replies (of 1 total)
  • Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there,

    Dealing with duplicate orders in WooCommerce can be frustrating and can stem from a variety of issues, often related to plugin conflicts, webhook misconfigurations, or even certain custom code snippets. Here are some steps you can follow to troubleshoot and hopefully resolve the issue of duplicate orders:

    Check WooCommerce and System Status Logs

    Start by checking WooCommerce > Status > Logs in your WordPress dashboard. Look for any errors or unusual entries that coincide with the times of the duplicate order occurrences. This can give clues about what might be triggering the duplicates.

    Check Custom Code and Functions

    If you have custom functions added to your theme’s functions.php file or a site-specific plugin, look for any custom code that might interact with order processing or creation.

    • Comment out recent changes temporarily and see if the issue resolves.

    Examine Server and WordPress Cron Jobs

    Sometimes, server issues or misconfigured cron jobs can cause actions to be triggered multiple times:

    • Server Resources: Check with your hosting provider if there are server issues that could be causing script execution anomalies.
    • WP-Cron: Inspect the WP-Cron events using a plugin like WP Crontrol to see if there are duplicate or rogue cron jobs related to order processing.

    Review Payment Gateway Logs

    Sometimes issues with payment gateways can cause duplicate orders, particularly if there are network delays or failures during the order submission:

    • Check the transaction logs in both WooCommerce and on the payment gateway’s dashboard.
    • Look for any anomalies or multiple submissions for the same order.
Viewing 1 replies (of 1 total)

The topic ‘Duplicate orders’ is closed to new replies.