We ‘hacked’ plugins/event-espresso-core-reg/modules/single_page_checkout/reg_steps/finalize_registrationEE_SPCO_Reg_Step_Finalize_Registration.class.php to output to a simple log file as it ‘entered’ various stages of function process_reg_step.
Here’s the output..
Enters ‘ensure all data gets refreshed from the db’ 17:52:31
——————-
Enters ‘ensures that all details and statuses for transaction, registration, and payments are updated’ 17:52:31
——————-
Enters ‘set a hook point’ 17:56:48
——————-
Enters ‘check if transaction has a primary registrant and that it has a related Attendee object’17:56:48
——————-
Enters ‘you don’t have to go home but you can’t stay here’ 17:56:48
——————-
Enters ‘mark this reg step as completed’ 17:56:48
——————-
Enters ‘current_step->set_completed’ 17:56:48
——————-
Enters ‘set_exit_spco’ 17:56:48
——————-
Each of the steps are comments in the function.
There’s obviously a big delay between // ensures that all details and statuses for transaction, registration, and payments are updated and // set a hook point.
We’ve narrowed things down to the email server setup you’re using. If you go and do a registration right now you’ll find the delay is gone, but that’s because I’ve temporarily deactivated email messages in Event Espresso’s messages settings. The email messages can be reactivated once there’s a reliable email configuration in place.
We’ve also found that sending a test email from the “Webriti SMTP Mail” plugin also takes about 4 minutes to process.
One way to fix the slowness when emails get processed is you use a transactional email service like Postmark or Mandrill instead of trying to send mail from a gmail account. Whichever service you decide to go with we recommend using the WordPress plugin that’s developed by the service provider.
The support post ‘Huge delay after Stripe payment, before thank you page is displayed’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.