Support

Home Forums Event Espresso Premium Registration Doesn't complete for the end user

Registration Doesn't complete for the end user

Posted: June 12, 2020 at 2:51 pm


Lisa Jansen Thompson

June 12, 2020 at 2:51 pm

Form & Spinner appears, never switches to “thank you” or whatever confirming to the person registering that it’s been rec’d. Spinner never goes away. Oddly on the WordPress Backend in the plugin, we see the registration. Everything is current WP & the plugin. How do we resolve this?


Lisa Jansen Thompson

June 12, 2020 at 3:00 pm

This reply has been marked as private.


Tony

  • Support Staff

June 15, 2020 at 5:13 am

Hi Lisa,

I ran a quick test registration on your site and the thank you page does actually load, although it takes over 2 minutes for your server to process the request and forward the user onto the page.

See: https://monosnap.com/file/s8rxGEr6CYZKEXYCEZYoWAEMA2NCWb

(I’ve blurred out identifying details as my screenshots are public but I’m sure you can tell that’s from your site)

Now, I’m not saying you should expect your users to sit and wait that long but it rules out and error being thrown which is then halting the script, it’s working’ it’s just taking a really long time to do so.

Generally, when we see that kind of a delay on that specific request it is caused by the email that is triggered at that point taking a long time to send, are you using an SMTP plugin or just using your host’s mail server?

If you go to Event Espresso -> Messages -> Settings.

What is the ‘Generate and send all messages:’ option set to?

Side note – please don’t post login credentials in the forms (even in private replies), we have a form specifically for sending us login credentials here:

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


Tony

  • Support Staff

June 15, 2020 at 5:14 am

Also, I did try to log in using the credentials you included, however, the usual login routes don’t work on your site so I assume you are using a plugin to hide those or only allowing login from specific IP’s?


Lisa Jansen Thompson

June 15, 2020 at 9:42 am

It’s using the server’s WP_MAIL() function.
the option is set to: On the same request
I will change it to “on a separate request” to help things (hopefully?)

I’ll use that form going forward, didn’t know it existed.


Lisa Jansen Thompson

June 15, 2020 at 9:44 am

Will this work better using the SendGrid plugin/service?


Tony

  • Support Staff

June 15, 2020 at 10:08 am

It’s using the server’s WP_MAIL() function.

The server doesn’t have a wp_mail() function.

WordPress has a wp_mail() function that pretty much every plugin (including Event Espresso) hooks into and from there your email can go to various different set ups.

I’m assuming by your reply you mean it’s using your server default mailserver.

the option is set to: On the same request

This is exactly why we added the message queue, some servers take a long time to process emails and if you do that processing ‘on the same’ request as the user, they need to wait for that.

Use ‘on a separate request’ and add another test registration, it should go through quickly.

Now, that option uses WP_CRON to process emails, so it can take around 10mins for your email to work through the queue.

Will this work better using the SendGrid plugin/service?

Usually yes, its one of the recommendations we have one running into emails, see:

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

What that plugin does is hook into wp_mail() after its done all of its processing and tells your server to send the emails to their server, who then send them and usually that ‘just works’.

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: publish

Updated by  Tony 3 months, 1 week ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!