Posted: October 26, 2012 at 1:38 pm
|
A few changes I made between when emails were working and now: I updated to version 3.1.27.1.P. I activated several plugins, including jigoshop, which apparently had conflicts with event espresso. I added the beanstream gateway for payments. I can’t seem to get it to send emails, even when I make a custom email to send. Any ideas? |
|
UPDATE: To be clear, only payment confirmation emails don’t work. Registration confirmation emails are perfect. |
|
UPDATE: Registration confirmation emails send out when the event is free. When there is a cost, it is dealt by invoice or beanstream gateways and after payment is confirmed, the payment confirmation does not send out. Perhaps it is because it is in sandbox mode? |
Hi Noah, It should send out emails even when in sandbox mode. When a test payment is made, does the payment status automatically update? I wouldn’t expect a payment email to be sent out during the registration process when the invoice option is used. Those have to be manually sent out when the payment is made. When there are issues after an update, it can be narrowed down to files in /wp-content/uploads/espresso/ So if there are files from a previous version in either /wp-content/uploads/espresso/templates or /wp-content/uploads/espresso/gateways, the safe way to check if these are out of date is by renaming these directories temporarily, then testing. You also mentioned that you’ve activate several plugins and since then the emails are not working. Can you try deactivating these and testing again? |
|
|
@Josh Yes, Payment status automatically updates. I am currently deactivating the plugins. One other thing is that the page is the AUTO RETURN URL: Payment Overview. Does this differ from Payment complete? In the Payment overview, it says payment is complete. |
|
UPDATE: All plugins are deactivated and the payment emails are still not sending. |
Hi Noah, We can rule out the plugins then, but did you get a chance to check the templates and gateway files in /wp-content/uploads/espresso/ Also, I’m having difficulty understanding what you mean by:
Is that something you can explain in more detail? |
|
|
Hi @Josh: I did change the template directory names temporarily as well. No luck. What I meant is the Auto Return URL (Thank You and Return Payment page) in General Settings. This is the page that I’m seeing. It’s a payment overview page, which indicates that the status is set to completed, but it doesn’t email. This differs from the end page when a user registers for a free event. They don’t reach the Auto Return URL page. They end up on the Main registration page, and that’s when their email is sent. |
Hi Noah, You could run a test and then check the PHP error logs for errors when submitting a registration. Another thing you can check is in Event Espresso>General Settings and under Email Settings, there’s a setting labeled Send payment confirmation emails? under “Email Settings”. Even if it is set to Yes, you could make sure that is the saved state by setting it to No, saving, then set it back to Yes, and Save. |
|
|
Hi @Josh: I did what you said. Doesn’t seem to be working yet. Here are a few interesting error logs: > Notice: Use of undefined constant E_DEPRECATED – assumed What do you think? Also, any comment on the fact that free events go to registration confirmation page, as opposed to the paid events going to the payment overview (It doesn’t seem to be a confirmation page)? |
You can try shutting off the requirements check plugin. That isn’t needed and is only throwing errors in connection with the jigoshop plugin. Free events should go to a registration confirmation template, and paid events should load up a payment overview template. The page will load up a different message based on whether the payment notification is successful or not, along with payment transaction details. Since free events don’t require payment, they don’t load up a payment overview page. |
|
|
Hi @Josh: Thanks for your help with this! I shut off the requirements check. I get a different warning log: > Warning: session_start() [function.session-start]: Cannot send session Would the duplicate session_start really be interfering with the email though? |
|
UPDATEI looked into the error log for the registration confirmation page on a free event, and the same session_start error is showing. So I assume that is not the problem. |
|
Solved (…I think)I figured I would just find where the email is being sent in the registration confirmation page and copy it over. What I found is that the Beanstream gateway does not have an action hook for the email after payment function. So, I simply copied the add_action line from another gateway page: In /plugins/event-espresso/gateways/beanstream/return.php, on line 65:
|
Hi Noah, Thanks for reporting this. I’m creating a ticket for this to get added in right away. |
|
|
Thanks for the help Josh! 🙂 |
Thanks for reporting what you found. |
|
The support post ‘Payment confirmation emails are not sending’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.