Support

Home Forums Event Espresso Premium Delay in receiving event registration confirmation emails

Delay in receiving event registration confirmation emails

Posted: September 26, 2016 at 11:24 am

Viewing 25 reply threads


Craig Schwartz

September 26, 2016 at 11:24 am

We used to receive event registration confirmation emails in sync with the payment processing email by AuthNet. Lately the event espresso registration confirmation emails has been delayed by a few days after receipt confirmation of payment from AuthNet. Would there be any reason for the recent delay in emails from Event Espresso? There has been no manual changes to our account on the website.

Thank you.


Tony

  • Support Staff

September 26, 2016 at 12:22 pm

Hi there,

Does your site receive a relatively small amount of hits?

EE changed up how it generated the messages a little while ago and uses WP Cron, the needs page hits to trigger the event (it can be any hit at all, admin, use, bot, anything) which may be causing this.

If you don’t process large batches of registrations you can switch back to the previous method if you prefer.

Go to Event Espresso -> Messages -> Settings.

There you will find the option ‘Generate and send all messages’, set that to ‘On same request’ and save the settings.

Now run a test registration and confirm if you receive the emails instantly?


Lorenzo Orlando Caum

  • Support Staff

September 26, 2016 at 12:24 pm

Hi Howard,

The messages system will generate emails for sending and those should go out within a couple minutes of a registration.

However, this uses wp_cron which triggers with front-end activity on the site.

You can switch to send right away through Event Espresso –> Messages –> Settings. There will be a dropdown that can be updated to send at once and then you can save changes.


Lorenzo


Craig Schwartz

September 27, 2016 at 8:34 am

Tony / Lorenzo

Thanks so much for the reply!!
I updated the settings as mentioned.
Will see what happens.

Howard


Steve

September 27, 2016 at 4:02 pm

I installed Mailjet as a third party transactional email service, and our email response times etc got a lot better so thats worth trying to. Easy to do, and free up to a point!


Tony

  • Support Staff

September 28, 2016 at 5:34 am

Thanks for posting, Steve.

Using a transactional email service will often be much quicker and more reliable as their business model depends more heavily on the emails (as opposed to most hosts who offer emails as a convenience/add-on).

We have some details on using these services and list some providers here:

https://eventespresso.com/wiki/postmark-app-mandrill-transactional-email-handling-services/


Steve

September 28, 2016 at 11:02 am

Thats where I got the details from – its miles better. And you get cool graphs. Everyone loves cool graphs (e.g. who clicked on the email, was it opened, etc)


Craig Schwartz

September 29, 2016 at 6:23 pm

Would this “transactional email service” also help with the last step of payment registration process gets hung up and keeps spinning therefor not showing success screen, and the back end registrations aren’t showing up after payment has been process. We checked AuthNet account and payment has been received, some times clients tried 2 – 3 times to register therefore paying 2 – 3 additional times.


Lorenzo Orlando Caum

  • Support Staff

September 30, 2016 at 6:07 am

Hello,

I would use a free transactional service such as Sendgrid:

https://gist.github.com/lorenzocaum/4677f472b012a5a88630


Lorenzo


Craig Schwartz

October 3, 2016 at 8:41 am

Great, will look into this and reply back soon on status of email receipts.


Craig Schwartz

October 3, 2016 at 2:18 pm

The Message setting did not correct the issue. There are 3 key problems going on:

1) At the payment step, it just spins and spins, even though Carmen’s payment went through successfully to AuthNet. The customer does not know that it went through, and sometimes will try again and double register unknowingly.

2) The backend is showing that attempted registrations by customers are “pending payment”, and were abandoned. Payment for those did not succeed, and the customers may be lost.

3) A test registration went through and is listed in EE under that event as being registered, but on the Events summary list, it shows “0” as approved registrations. So employees who look at the list don’t see the real number of registered customers.

Please assist ASAP since we may be losing customers. Thank you!


Tony

  • Support Staff

October 4, 2016 at 4:11 am

Hi Howard,

All of those 3 issues listed sounds connected:

1) At the payment step, it just spins and spins, even though Carmen’s payment went through successfully to AuthNet. The customer does not know that it went through, and sometimes will try again and double register unknowingly.

It sounds like there is an error being thrown that is breaking the ajax request which means EE does not know a payment has been made and sits waiting for a reposnse, which means….

2) The backend is showing that attempted registrations by customers are “pending payment”, and were abandoned. Payment for those did not succeed, and the customers may be lost.

If there is an error and EE doesn’t know there is a payment the registration will remain pending payment. Which also means:

3) A test registration went through and is listed in EE under that event as being registered, but on the Events summary list, it shows “0” as approved registrations. So employees who look at the list don’t see the real number of registered customers.

‘Pending payment’ registrations do not apply to the event, only ‘Approved’ registrations do. A registration would automatically be ‘Approved’ if the payment was recorded and shown as a full payment within the transaction.

Can you create a test event we can use to register onto please, you can set it to password protected and post the password here for us to view.

We will need a paid and free ticket on the event to test the registrations (we will not make like payments, but can test to see if any errors are being thrown up until making a payment).

You can use a regular event if you prefer, just not we may run multiple test registrations.

Also, if you look within the servers error logs do you see any errors around the same time these registrations were made?


Craig Schwartz

October 4, 2016 at 7:51 am

Hi, Tony

Thank you for the quick response. Due to time, if we can use an existing event for you to test since I wont be able to add a test event until late tonight which loses one day turnaround for us.

http://www.hotpots.net/this-months-events/event-page-2/

Link above is event thats ok to test.

I will check out the server reports.

Thank you!!


Tony

  • Support Staff

October 4, 2016 at 9:53 am

I ran a test registration on that event and can see the issue you mention, but no errors are shown.

Can you enable WP_DEBUG on the site so I can retest then?

You can add this snippet to your wp-config.php file:

https://gist.github.com/Pebblo/8787f5530ea777c84aaf62f075e55b32

That tells WordPress to save the errors rather than displaying them which should then save the error to a debug.log file within /wp-content/


Craig Schwartz

October 5, 2016 at 7:40 pm

Hi, Tony

I am not sure I understand what you need me to do.

Where can i find the wp-config.php file?
And do I add that snippet of code into the wp-config.php file?
Any special location?


Tony

  • Support Staff

October 6, 2016 at 4:26 am

Where can i find the wp-config.php file?

wp-config.php is within the root directory of where you installed WordPress, the location can change depending on your setup but its often in the root directory for your site.

And do I add that snippet of code into the wp-config.php file?
Any special location?

Yes the above snippet should go within wp-config.php, it should be pleaced anywehere above the line that has /* That's all, stop editing! Happy blogging. */

Like this – http://take.ms/Cmkqa

If you are unsure we can add this snippet for you if you can provide FTP details, you can use this form to send them securely:

https://eventespresso.com/send-login-details/


Craig Schwartz

October 6, 2016 at 5:33 pm

OK, Tony

I added the code to the wp-config file.
All should be set i hope.

Thanks,

Howard


Tony

  • Support Staff

October 7, 2016 at 7:06 am

Your site is currently throwing a syntax error when the code you have added above:

Parse error: syntax error, unexpected '<' in wp-config.php on line 85

A syntax error basically means something is there that should not be.

I’m guessing your have included this:

<?php //Do not include the opening PHP tag

If so please remove it.


Craig Schwartz

October 7, 2016 at 8:37 am

Hi, TOny

I uploaded the updated wp-config file.
I did notice the following in the code – there are 2 define(‘WP_DEBUG’, ) statements. Will that cause a problem, countering out each other?

/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*/
define(‘WP_DEBUG’, false);

//This code enabled WP Debug but disables display_errors so they are not shown on the page.
//Any errors thrown on your site will be stored within a debug.log file within /wp-content/
define(‘WP_DEBUG’, true);

if ( WP_DEBUG ) {
@error_reporting( E_ALL );
@ini_set( ‘log_errors’, true );
@ini_set( ‘log_errors_max_len’, ‘0’ );
define( ‘WP_DEBUG_LOG’, true );
define( ‘WP_DEBUG_DISPLAY’, false);
define( ‘CONCATENATE_SCRIPTS’, false );
define( ‘SAVEQUERIES’, true );
}


Josh

  • Support Staff

October 7, 2016 at 10:01 am

That will cause problems because constants should only be defined once. You’ll need to remove one of those.


Craig Schwartz

October 9, 2016 at 5:22 pm

OK I removed the define(‘WP_DEBUG’, false); so I’m hoping you will begin to receive the error notifications. Please let me know what turns up. Thank you!


Josh

  • Support Staff

October 10, 2016 at 12:11 pm

Hi Howard,

In order for us to see the error notifications, you’ll need to send in FTP access, or you can check the error log that’s in the debug.log file in the wp-content folder of your website.


Craig Schwartz

October 11, 2016 at 7:48 am

I submitted the form as requested. Please let me know if you have any login issues. Would it make sense to speak on the phone after purchasing a support token?


Josh

  • Support Staff

October 11, 2016 at 8:21 am

Here’s the error we’re seeing in the log after trying a test registration:

[11-Oct-2016 14:16:37 UTC] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 72 bytes) in

We’ll try bumping up the memory by making to the wp-config.php file. That may or may not help depending on your host. If that doesnt help, the way forward is you contact your host and request that the server’s memory limit be expanded to more than the current 64MB.


Josh

  • Support Staff

October 11, 2016 at 8:41 am

Update: It looks like the memory bump worked because I tried another test registration and it didn’t throw the fatal error anymore.


Craig Schwartz

October 11, 2016 at 9:33 am

Thats great news, Josh!!
We will test on our end as well to double check outside sources.
But thanks again for the timely assistance!!

Viewing 25 reply threads

The support post ‘Delay in receiving event registration confirmation emails’ 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