Support

Home Forums Pre-Sales Display loading state while waiting for ajax calls on SPCO

Display loading state while waiting for ajax calls on SPCO

Posted: July 3, 2018 at 12:24 pm

Viewing 1 reply thread


info@humanresources.org

July 3, 2018 at 12:24 pm

We are using the single page checkout, and while everything works, we’re finding that the payment processing and ajax calls are taking a very long time.

Is there a way to detect when an ajax request is made and when there is a response, so we can tell the user not to refresh the page or click on any other links?

This is happening when moving from the form to the payment selection, and after successful payment entry via Stripe it takes a long time to redirect to the confirmation page.


Josh

  • Support Staff

July 3, 2018 at 2:10 pm

Normally there’s already something displayed, this screenshot shows an example:

https://slack-files.com/T02SY781D-FBJF4HL02-e91296042d

Ideally though the site could be sped up to avoid the wait. May I ask is the server on PHP 7?

Viewing 1 reply thread

The support post ‘Display loading state while waiting for ajax calls on SPCO’ 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