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


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?

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.

Considering Event Espresso for your next project?
This is the best place to ask questions about Event Espresso. Please describe your project needs clearly and concisely so we can help you.

Status: closed

Updated by  Josh 2 weeks, 3 days ago ago

Topic Tags

Notifications

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