• When I order a product from my store, I don’t get the followup mail.
    My setup is the following:

    My Debug-Log gets out this error:

    [28-Sep-2023 19:56:02 UTC] PHP Warning:  Trying to access array offset on value of type null in /www/htdocs/w01af92a/online-impressum.de/wp-content/plugins/ultimate-wp-mail/includes/WP_List_Table.UserStatsTable.class.php on line 629

    and the Plugin correctly detects the woocommerce mails but does not send out emails.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Support jaysupport

    (@jaysupport)

    Hi schmicho,

    Are you checking out from the front end of your website? The trigger only works for orders placed on your site. It does not trigger for orders created manually in the admin. Also, what is the payment method for the orders you tried?

    Thread Starter schmicho

    (@schmicho)

    Yes. The purchase comes from a second testing account from the frontend. I’ve tried SEPA Lastschrift (like manual collecting money from the buyers account)

    I tried and the mail comes like 10 Hours later than added in the backend. (check every minute and send 0 min after purchase)

    Can you help me check why this keeps happening?

    • This reply was modified 1 year, 1 month ago by schmicho.
    • This reply was modified 1 year, 1 month ago by schmicho.
    Thread Starter schmicho

    (@schmicho)

    I ordered though frontend this morning at 01:05 but until not (12:25) I didn’t recieve any mail :/

    Plugin Support jaysupport

    (@jaysupport)

    Hi schmicho,

    Thank you for providing that information. It could be as simple as something like your server has a different timezone than what you have specified in your WordPress general settings, and that the notifications are being triggered based on the server time. Could you verify that your server timezone matches what you have set in your WordPress settings and see if that makes a difference? Also, what do you have set for your timezone in WordPress? Sometimes choosing a city instead of a UTC-based time, or vice versa, can make a difference.

    Thread Starter schmicho

    (@schmicho)

    Hi Jay. Thanks for the reply.

    I’ve currently set Berlin in the timezone. I’ve tried UTC+2 but it didn’t change anything. Since it’s not my Server (only hosted) I can only imagine but it should be Berlin or UTC+2.

    As you can see in the screenshot, we tried multiple times (last a few minutes ago) and the time (send date) is correct but it does not trigger the Mail-sendout…

    • This reply was modified 1 year, 1 month ago by schmicho.
    Plugin Support jaysupport

    (@jaysupport)

    Ok, so just to be clear, the email does send, but several hours late? Or it never sends at all?

    What happens if you set the trigger time to 5 minutes instead of 0 minutes?

    Thread Starter schmicho

    (@schmicho)

    The mail never send out. I tested it now with checking-time 5 min and “send out after 5 min” but still no mail or log-entrie… Maybe it’s a system bug because I got mails in the past (I tested some settings but don’t know anymore.) May there be a problem with the setup for the mail ?

    Is that correct ?

    Product Purchase – *choose product* – Products(not sure about that because there are also projects and emails) – *E-Mail Template* – User – 5 – Minutes

    Thread Starter schmicho

    (@schmicho)

    I’ve tried now every combination that is possible but there is no email…. The Log loggs the order but does not send out the mail. Any idea ?

    Thread Starter schmicho

    (@schmicho)

    After further testing: When I add a “on Registration” email, it did get send out immediately after the registration. so the tool itself works. but the combination with ordering products does not. Can you check that ?

    Plugin Support jaysupport

    (@jaysupport)

    In that case, the only thing I can think to test would be the payment method. Any method where it’s collected later means the order has not been paid for, which could be creating the issue. Try setting the payment method to the regular “WooCommerce Payments” option, making sure you only accept orders that are paid for (no pay later). Then make the price of an item 0, so you can check out for free. Do you get the email for that one?

    Plugin Support jaysupport

    (@jaysupport)

    Also, what happens if you use the “Product Purchased” send event instead of the “X Time After Purchase” one?

    Thread Starter schmicho

    (@schmicho)

    okay. So I’ve tested. When I pay via Paypal sandbox the E-Mail gets send. (but only with the setting “Product purchased” and not “x time after purchase”)

    When I pay via Bank Wire or SEPA it does not get send.

    Plugin Support jaysupport

    (@jaysupport)

    Ok, sounds to me like two separate things.

    First of all, the email will not be triggered unless the order is marked as paid. That is how it works. Unfortunately we do not have a trigger for orders that are submitted, but not paid. We can look into adding this in the future.

    The other issue is the delayed email not being sent. We’ll need to do some more testing on that one, to see if we can recreate any similar scenario. In the meantime, are you able to use the Product Purchased trigger instead?

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘No E-Mails when ordering (testmail works)’ is closed to new replies.