Posted: August 11, 2018 at 9:55 am
Customer buys a ticket.
For some reason the last few days it is sending wrong emails.
At exact same time to the minute, it sent the registration email AND the tickets email to a customer that bought 2 days ago for event that happened last night.
Might need to allow access for this one.
Let me know, thanks
Same thing happened yesterday morning as well.
Customer bought a ticket. So the system sends them the event payment details notification. BUT, at exact same minute, it sends the registration and tickets email to a customer that bought the night before for a totally different event.
I have been able to track the problem all the way back to Monday, AUgust 6th and I believe that’s when I updated EE.
Okay I have narrowed down exactly what is happening but I don’t know how to fix it.
CustomerA buys a ticket and system sends them the Event Payment details email. At the same time, it sends the previous most recent buyer (customerB) their Registration and Ticket emails.
Therefore when Customer(C) buys a ticket later in the day for example. The system is sending Customer(C) their event payment details, BUT that triggers the Customer(A) to get their registration & Tickets emails.
CustomerA buys at 1:30 p.m.
Customer A gets event payment details email at 1:30 p.m.
Then at 2:30 p.m.
Then at 3:30 p.m.
Also, just tested something else after another customer bought and the same thing that I explained above happened.
I tried manually sending the registration email and the tickets email. And normally that works within minutes. It’s been over 15 minutes and still nothing sent.
Only thing I can think of is the last update.
I’m use the tickets add-on and MER in case you try to replicate.
If you go to Event Espresso -> Messages -> Settings.
Is the option ‘Generate and send all messages:’ set to ‘On separate request’?
If so change that to ‘On the same request’, does that fix the problem on your site?
Yes that fixed the issue thank you. I’m a little curious, can you say whether or not the update on August 6th is what caused me to have to change a setting?
I also noticed another error while examining this one, it seems that the “Registration Approved” email that is set to send to “event admin” constantly fails 100% of the time. Saw over 2500 failed message notices under “messages” tab. All the others send correctly, it’s only that one.
And last but not least, another tip. Before changing that setting you reccommened I had tried to manually send ticket notice and registration notice. The EE system placed those messages in the “generated for sending” column but strangely did not pull the email address and instead showed “no recipient”. But after changing the setting you reccommended this was fixed as well. Just thought you should know.
So for now, only issues left concerning emails is:
1) registration approved message failing to “event admin” and the email address for “event admin” is always me so it’s correct.
2) the emails that show up on gmail desktop have a broken image icon for the event venue. http://prntscr.com/khip6z
Here is a screenshot of the no recipient thing. http://prntscr.com/khipm8
I’m not getting the same problem on any of my test sites and I don’t think any of this has changed recently.
The message queue works on WP_CRON, meaning it relies on page visits to your site to work through the messages, the above doesn’t actually sound like an issue if your site isn’t getting that many page hits.
That would have been an important detail to include in your other thread: https://eventespresso.com/topic/invoice-payment-method/
As its very likely the reason you are getting the error message you see in that section.
Go to Event Espresso -> Messages -> Default message templates -> Registration Approved -> Event Admin.
(Make sure you are on the correct context, see: https://eventespresso.com/wiki/messages-system-working-with-message-contexts/)
Make sure, the TO and FROM fields are NOT using _FORMATTED_ shortcodes, for example if you have
That’s normal and expected.
When a message is added to the system it is ‘queued for generation’, at that point EE doesn’t know who the message is for, it simply knows a message has been queued and all o the details for said message need to pulled in and the message itself generated (hence the queued for generation status). EE doesn’t know the recipient at that point as it hasn’t pull any details in, it does that on the next step, at which point it will show a receipient and show a status of queued for sending.
Do you have a Google Maps API key set in EE?
Event Espresso -> Venues -> Google maps.
If so, does that API key also have access to the static maps api?