Support

Home Forums Event Espresso Premium Payment confirmation emails are not sending

Payment confirmation emails are not sending

Posted: October 26, 2012 at 1:38 pm

Viewing 16 reply threads


Noah Purves-Smith

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?


Noah Purves-Smith

October 26, 2012 at 1:58 pm

UPDATE:

To be clear, only payment confirmation emails don’t work. Registration confirmation emails are perfect.


Noah Purves-Smith

October 26, 2012 at 2:22 pm

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?


Josh

  • Support Staff

October 26, 2012 at 2:51 pm

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?


Noah Purves-Smith

October 26, 2012 at 3:11 pm

@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.


Noah Purves-Smith

October 26, 2012 at 3:14 pm

UPDATE:

All plugins are deactivated and the payment emails are still not sending.


Josh

  • Support Staff

October 26, 2012 at 3:26 pm

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:

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.

Is that something you can explain in more detail?


Noah Purves-Smith

October 26, 2012 at 3:53 pm

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.


Josh

  • Support Staff

October 29, 2012 at 9:40 am

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.


Noah Purves-Smith

October 30, 2012 at 10:58 am

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
> ‘E_DEPRECATED’ in
> /home/ravissus/public_html/wp-content/plugins/espresso-requirements-check/espresso_requirements_check.php
> on line 88
>
> Notice: Use of undefined constant E_DEPRECATED – assumed
> ‘E_DEPRECATED’ in
> /home/ravissus/public_html/wp-content/plugins/espresso-requirements-check/espresso_requirements_check.php
> on line 88
>
> Notice: Use of undefined constant E_DEPRECATED – assumed
> ‘E_DEPRECATED’ in
> /home/ravissus/public_html/wp-content/plugins/espresso-requirements-check/espresso_requirements_check.php
> on line 88
>
> Warning: session_start() [function.session-start]: Cannot send session
> cache limiter – headers already sent (output started at
> /home/ravissus/public_html/wp-content/plugins/espresso-requirements-check/espresso_requirements_check.php:88)
> in
> /home/ravissus/public_html/wp-content/plugins/jigoshop/classes/jigoshop_session.class.php
> on line 20

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)?


Josh

  • Support Staff

October 30, 2012 at 11:49 am

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.


Noah Purves-Smith

October 30, 2012 at 12:08 pm

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
> cache limiter – headers already sent (output started at
> /home/ravissus/public_html/wp-content/plugins/loginradius-for-wordpress/LoginRadius_socialShare.php:13)
> in
> /home/ravissus/public_html/wp-content/plugins/jigoshop/classes/jigoshop_session.class.php
> on line 20

Would the duplicate session_start really be interfering with the email though?


Noah Purves-Smith

October 30, 2012 at 1:15 pm

UPDATE


@josh
:

I 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.


Noah Purves-Smith

October 30, 2012 at 1:55 pm

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:

add_action('action_hook_espresso_email_after_payment', 'espresso_email_after_payment');
    return $payment_data;


Josh

  • Support Staff

October 30, 2012 at 2:10 pm

Hi Noah,

Thanks for reporting this. I’m creating a ticket for this to get added in right away.


Noah Purves-Smith

October 30, 2012 at 2:17 pm

Thanks for the help Josh! 🙂


Josh

  • Support Staff

October 30, 2012 at 3:29 pm

Thanks for reporting what you found.

Viewing 16 reply threads

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.

Event Espresso