• Resolved melo1551

    (@melo1551)


    When the order status is changed to a status that is supposed to send out a mail just nothing happens. Is there. fix so the client or admin can be notified on the order update?

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Algoritmika

    (@algoritmika)

    Hi @melo1551,

    Do you mean that otherwise (i.e. if you change the status manually) the email is sent? I mean – is it a bug (i.e. normally the email is sent), or do you just need a new feature (i.e. send custom email)?

    Plugin Author Algoritmika

    (@algoritmika)

    @melo1551,

    Ok, after reading your question again, it looks like you meant that this is a bug. Could you please double-check if an email is sent when you change the order status manually? As our plugin simply calls $order->update_status() function, which should trigger all associated actions, including emails.

    Thread Starter melo1551

    (@melo1551)

    When changed manually the email is actually sent, so I assumed that this could be a bug from the PlugIn or that the email function may not be included. Would be interesting if I am the only one that has this issue.

    Plugin Author Algoritmika

    (@algoritmika)

    @melo1551,

    Hmm… Could you please check if there are any errors in “WooCommerce > Status > Logs”?

    Thread Starter melo1551

    (@melo1551)

    No issue shown there. Could you confirm that the emails are usually sent?

    I just used the WP Mail Logging Plug in to see if a mail is sent and there was actually nothing sent via the wp_mail() function.

    • This reply was modified 2 years, 10 months ago by melo1551.
    Plugin Author Algoritmika

    (@algoritmika)

    @melo1551,

    Yes, definitely.

    I’ve just re-tested on my server – created a rule which changes order status from “processing” to “completed”. And as soon as the rule was executed, I’ve received a number of “Your order is now complete” emails.

    Which status are you changing it to? I.e. is this a standard WooCommerce order status? Or a custom one? This generally shouldn’t make a difference (emails should be sent in both cases), but if it’s a custom status, added with some specific plugin, I could maybe try to replicate it here…

    Plugin Author Algoritmika

    (@algoritmika)

    P.S. Regarding WP Mail Logging plugin – could you please recheck that there is something in the log, when you change the order status manually (i.e. when the email is sent correctly)? Just to be sure…

    Thread Starter melo1551

    (@melo1551)

    It is actually one of the default statuses (wc-failed), I might be trying for Plugin incompatibilities in this case.

    Plugin Author Algoritmika

    (@algoritmika)

    @melo1551,

    I have just tried it with the “pending” to “failed” rule – again, seems to be working fine here, I’ve received the emails.

    How are you triggering the rules? I.e. are they triggered periodically (i.e. automatically), or are you triggering them manually with our “Run all rules now” option (in “WooCommerce > Settings > Order Status Rules > General”)? Could you please let me know if emails are not sent in both cases?

    Thread Starter melo1551

    (@melo1551)

    I just changed the status from processing to failed manually and the email was sent and appeared on the logging PlugIn.

    The run all rules now is unchecked, time trigger is 20 seconds, Allow rules processing via URL is unchecked, use WP Cron is enabled once every minute, Use Action Scheduler is unchecked.

    I could not detect a PlugIn that may intervene yet.

    Plugin Author Algoritmika

    (@algoritmika)

    You’ve mentioned that you’ve changed order status from “processing” to “failed” – but standard WooCommerce email is only sent when it’s changing from “pending” to “failed”, or from “on-hold” to “failed”. Did you make any customizations on your site to send emails on “processing” to “failed” as well?

    Thread Starter melo1551

    (@melo1551)

    Ohh wow, I did not know that. I was actually never focused on the previous order status and when I did it manually it was always from “on-hold” to “failed”. Now that I set it from “pending” to “failed” it works perfectly. Thank you very much and sorry for consuming so much of your time for such a tiny thing. Excellent support I have never received better help to be honest.

    Plugin Author Algoritmika

    (@algoritmika)

    @melo1551,

    Happy to hear it’s solved! And don’t worry about consuming my time, I’m here to help ??

    Let me know if you need anything else. And if you like the plugin, please consider leaving me a rating, I would really appreciate it.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Email do not get triggered’ is closed to new replies.