• Grettings,

    I’m using the trigger ‘Order status updated to Completed’ but I don’t receive any email when that happens, I update the order status through code so maybe that doesn’t let the trigger to work or something like that. Any ideas of how I can fix it?

    Thanks!

    • This topic was modified 2 years, 3 months ago by agenciayork.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @agenciayork,

    I am really sorry to know you are experiencing problem.

    I couldn’t reproduce the issue on our end. The plugin seems to be functioning properly. The fact that you are updating order statuses using code might be the source of the problem. So, would it be possible to paste the code here so that we can check it on our end?

    Kind regards,
    Moshtafizur

    Thread Starter agenciayork

    (@agenciayork)

    Sure but it’s nothing too complicated, just a custom plugin that I made to sync the Woocommerce with SAP that has the line $order->update_status('completed'); in the end to change the status of the order to completed if it syncs succesfully. The status of the order changes but the email don’t trigger.

    Hello @agenciayork,

    Thanks for providing more details.

    I have escalated this with our development team. They will get back to you as soon as they can.

    Kind regards,
    Moshtafizur

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Trigger not working’ is closed to new replies.