Support

Home Forums Event Espresso Premium Duplicate Confirmation email

Duplicate Confirmation email

Posted: November 3, 2014 at 12:27 pm

Viewing 1 reply thread


Kerstin Schwalb

November 3, 2014 at 12:27 pm

Hi,

i’m using this code in the “payment_overview.php” file (EE3) which works great, but sending every mail twice (customer and admin).

event_espresso_email_confirmations(array('session_id' => $payment_data['attendee_session'], 'send_admin_email' => 'true', 'send_attendee_email' => 'true'));

Does anybody know, how to fix this?

Kerstin


Dean

November 4, 2014 at 4:44 am

Hi,

That is most likely the case as, as far as I can tell, you are simply telling the plugin to send the emails, but are not disabling the other emails.

I think this might be the thread where you got that code from https://eventespresso.com/topic/question-on-registration-confirmationnotification-email/

If so, note that further in the thread Sydney provides a modified version to avoid duplicate emails, but this code is intended for Gateway use rather than the payment_overview.php file. Sydney advised that it should go in the Check gateway (though any offline gateway would work)

Viewing 1 reply thread

The support post ‘Duplicate Confirmation email’ 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