When customer chooses payment method there is delay from AJAX when system switches to preferred payment method. If customer is fast enough to click order review button before loading new shipment details have finished, he gets following error:

(Translation from finnish error message)
AJAX HTTP request was unexpectedly interrupted
Following error details:
Path: !url
Details: error
Response:
ReadyState: 0

Site: http://www.biovasa.fi/verkkokauppa

This has leads to few cart abandonments / day.

Comments

longwave’s picture

This is an issue with Drupal core's Ajax behaviour, see #1232416: Drupal alerts "An AJAX HTTP request terminated abnormally" during normal site operation, confusing site visitors/editors

Perhaps we can work around it in Ubercart, not sure.

demoshane’s picture

Noted. Maybe if error handler could be attached to such event with better description for end user, not sure though, still learning php.

longwave’s picture

One Ubercart-specific workaround would be to disable the submit button while the Ajax request is in progress, forcing the user to wait for it to complete before they can continue.

demoshane’s picture

That's actually a brilliant idea.

M. George Hansen’s picture

Version: 7.x-3.1 » 7.x-3.6
Issue summary: View changes

I can confirm that this is still an issue in 7.x-3.6, updating version on ticket.

tr’s picture

Version: 7.x-3.6 » 7.x-3.x-dev
Status: Active » Postponed

And it's still a core issue, as explained in #1. If you'd like to see it resolved, please participate in #1232416: Drupal alerts "An AJAX HTTP request terminated abnormally" during normal site operation, confusing site visitors/editors

tr’s picture

Status: Postponed » Closed (outdated)

The core issue has been fixed, and I can't reproduce this on my (very slow) D7 test site with the current versions of Drupal and Ubercart. I don't think there's anything that needs to be done here anymore. Feel free to reopen if you find the issue is still occurring.