• Resolved rabiancone

    (@rabiancone)


    WooCommerce is randomly reverting order status back to “completed” and re-sending order completion emails.

    Today it reverted an order to “completed” status and sent the “Your recent order has been completed” email to a customer who’s order had been in “shipped” status. I use the WordPress plugin Custom Order Status Pro for managing custom order statuses.

    I can’t find any specific pattern as to who/when it chooses to send the emails.

    Looking at the debug logs I see:

    “Triggered from:/var/web/site/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php”

    Order notes: https://snipboard.io/1vDqwP.jpg
    System status: https://pastebin.com/YXybsg24

    Has anybody else experienced this or have any ideas on what might be causing it?

    Thanks,

Viewing 1 replies (of 1 total)
  • Hello,

    Since you are using a plugin to manage order status, it’s likely that the issue is related to that plugin. To confirm, I’d clone your site to a staging environment, deactivate the Custom Order Status Pro plugin, and place test orders to see if you can reproduce the same behavior.

    If the issue persists with that plugin inactive, you’ll next want to run a full conflict test to determine if the issue is coming from your theme or another plugin.

    You can find a detailed explanation on how to do a conflict test here: https://docs.woocommerce.com/document/how-to-test-for-conflicts/

Viewing 1 replies (of 1 total)
  • The topic ‘WordPress randomly reverting order status back to “completed”’ is closed to new replies.