Posted: 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! |
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, 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! |
Hi, could you share a link to one of those events so we can try a registration? Thanks — |
|
|
|
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? — |
|
|
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? |
|
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? |
|
I spoke too soon. The double came through just as I sent that email. ;-( |
Thanks for the updates. I ran some testing on some of our sites using those email settings and I received one email: 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, 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? |
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. |
|
|
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. |
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:
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. |
|
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.