Support

Home Forums Event Espresso Premium Huge delay after Stripe payment, before thank you page is displayed

Huge delay after Stripe payment, before thank you page is displayed

Posted: September 3, 2015 at 9:51 am

Viewing 5 reply threads


Peter Daly-Dickson

September 3, 2015 at 9:51 am

Support post created during redeeming a priority support token.


Peter Daly-Dickson

September 3, 2015 at 11:02 am

Can see some test transactions in my Stripe account!

Thanks for getting on it so quickly.


Peter Daly-Dickson

September 3, 2015 at 12:10 pm

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.

Does this help at all?


Josh

  • Support Staff

September 3, 2015 at 2:17 pm

Hi Peter,

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.


Peter Daly-Dickson

September 3, 2015 at 2:59 pm

Mandrill activated. All good!

Well worth $70.

Thanks Josh.


Josh

  • Support Staff

September 3, 2015 at 3:48 pm

You’re welcome Peter.

Viewing 5 reply threads

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.

Event Espresso