Support

Home Forums Event Espresso Premium Two registration confirmations with each registration

Two registration confirmations with each registration

Posted: December 17, 2015 at 4:15 pm

Viewing 13 reply threads


creativespirits

December 17, 2015 at 4:15 pm

We’ve upgraded to the latest WordPress version and latest EE version and we are now receiving two registration confirmations whenever someone registers for an event. The admin gets two and the registrant gets two – identical emails within 30 seconds of one another. We have email settings set to “yes” send confirmation emails, “yes” send before payment received (because we want email confirmations sent for check payments too) and “yes” use fancy email headers. After 18 tests toggling these options, using an SMTP plugin, installing Mailgun, etc, the issue persists. Any guidance would be greatly appreciated!


Lorenzo Orlando Caum

  • Support Staff

December 17, 2015 at 6:27 pm

Hello,

Thanks for letting us know what you have tried. We recommend continuing to use a transactional email service.

Based on your settings, you should receive two emails — one for sending before payment is received and one after a successful registration.

However, you should not be received two sets (i.e. four emails in total).

I do have a couple questions:

Are you aware of any custom coding for Event Espresso 3 on the site?

Is this happening for all events?


Lorenzo


creativespirits

December 18, 2015 at 8:02 am

Lorenzo, I did a little more testing and I can narrow down the issue a bit more. The duplicate emails are sent when a customer finishes filling out the registrant information – not from the payment page (no emails are sent out there because we are choosing “pay by check” so payment isn’t completing.)

Double emails are not occurring with events that only have one ticket option – just with events that have multiple ticket types. We are using the Event Espresso – Multi Event Registration plugin, so I’m assuming the issue mist be with that plugin. Correct?

Please let me know what other info you need to help us fix this issue. Thanks!


Lorenzo Orlando Caum

  • Support Staff

December 18, 2015 at 9:13 am

Hi, could you share a link to one of those events so we can try a registration?

Thanks


Lorenzo


creativespirits

December 18, 2015 at 9:23 am

http://sdaep.org/educationtraining/


Lorenzo Orlando Caum

  • Support Staff

December 18, 2015 at 9:33 am

Thanks. I sent through a test registration under the name dec18test dec18test.

I arrived at the payment page but did not proceed further and I’ve received one email.

About a minute later, I received another.

Who is your hosting provider and were you previously using any caching services on your site such as WP super cache or W3 total cache?

Also, are you aware of any custom coding for Event Espresso 3 on the site?


Lorenzo


creativespirits

December 18, 2015 at 9:41 am

The site is hosted with Bluehost. There is a custom shopping cart page file in the Uploads>espresso>templates folder. Should I deactivate that and see if the issue persists?


creativespirits

December 18, 2015 at 9:45 am

I deactivated that page and tried a test. Seems only one email comes through… so it must be something with the customizations on the shopping cart page. I will work with that page and see if I can’t get the customizations they want without the duplicates.

One more question while I have you – is there a way to add the ticket type to the pdf invoice?


creativespirits

December 18, 2015 at 9:49 am

I spoke too soon. The double came through just as I sent that email. ;-(
So I’m still getting doubles even without the custom shopping cart template file.


Lorenzo Orlando Caum

  • Support Staff

December 18, 2015 at 12:18 pm

Thanks for the updates. I ran some testing on some of our sites using those email settings and I received one email:

http://cl.ly/1I251D0N2t33

Could you please update to the current release?

https://eventespresso.com/wiki/how-to-upgrade-event-espresso/#update-event-espresso-3

Also, please check to see if there is any other coding in your theme’s functions.php. Some of the emails in Event Espresso 3 can be changed via a custom function so I want to ensure that isn’t happening here.


Lorenzo


creativespirits

December 18, 2015 at 3:12 pm

Lorenzo,

I just did a fresh install of Event Espresso version 3.1.27.6 – I believe this is the latest version. I checked the theme’s functions file and didn’t see anything that should affect EE, but just to be sure, I activated the default TwentyFifteen theme just long enough to run a test – the doubles still come, even with the fresh EE install and TwentyFifteen theme.

Figuring it would be the next test, I deactivated all non EE plugins and ran a test. YAY- one email. BUT – as I reactivated the plugins one by one and did more tests, I believe I found in the plugin with the conflict – unfortunately the KEY plugin for my theme and if it’s not activated, it breaks the whole theme. The plugin is Page builder & Shortcodes – PremiumCoding. What can I do to still use this needed plugin and use EE as well?


Josh

  • Support Staff

December 21, 2015 at 12:35 pm

Hi there,

You might have some success with disabling the Page Builder and Shortcodes functions when the [ESPRESSO_EVENTS] shortcode runs, or if possible, disable its functions for the main registration page. What may be happening here is the Page Builder and Shortcodes is causing the shortcode on the main registration page to be executed twice.


creativespirits

December 21, 2015 at 1:00 pm

That sounds like it would work – can you tell me how to accomplish that? I’m a regular WordPress user and I’m great with CSS, but when it comes to functions, I’m the first to admit I’m no pro.


Josh

  • Support Staff

December 21, 2015 at 1:16 pm

Sorry, I’m not familiar with the Page Builder and Shortcodes functions to know for sure what it’s doing. For the sake of a basic generic example though, let’s say your Main registration page is page ID “10”, and the Page Builder and Shortcodes plugin runs a function named “page_builder_function” and it’s hooked to the the_content filter.

Your function to disable the page builder function on that specific page will look something like this:

function my_custom_disabler_function() {
 if( is_page( 10 ) ){
  remove_filter( 'the_content', 'page_builder_function', 10 );
 }
}
add_action( 'template_redirect', 'my_custom_disabler_function' );

You’ll need to either contact the support staff of the other plugin or dig into its code to know which functions and which hooks it’s using that need to be disabled.

Viewing 13 reply threads

The support post ‘Two registration confirmations with each registration’ 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