1. Documentation /
  2. One Page Checkout Slow or Not Working

One Page Checkout Slow or Not Working

If One Page Checkout appears slow or not working at all when the checkout button is pressed, it is possible that there is a JavaScript error at work. Below are steps on how to find if this error is occurring and how to troubleshoot the possible causes.

Checking for Errors

↑ Back to top
To check for JavaScript errors:
  1. View the JavaScript Console in your browser
    1. (Chrome) Go to View > Developer > JavaScript Console
    2. (Safari) Go to Develop > Show JavaScript Console
      1. If Develop is not in the menu bar, go to Safari > Preferences > Advanced and check the box “Show develop menu in menu bar”
    3. (Firefox) Go to Firefox or Tools in the menu bar, then Web Developer > Web Console
  2. Check this console for errors, specifically for a 403 error possibly related to AJAX
AJAX 403 Error in Console
AJAX 403 Error in Console

Diagnosing the Cause of the Error

↑ Back to top
There are a few reasons this error could occur, such as plugin interference, host firewalls, and caching. Below are some steps that you can take to diagnose the cause.

Plugin Interference

↑ Back to top
To check if another plugin is the cause of the this issue:
  1. Disable all your plugins except WooCommerce and One Page Checkout. If the issue persists, then the cause is not interference from another plugin.
  2. If the issue is gone, enable the rest of the plugins one at a time until the issue is reproduced.
  3. Note which plugin caused the error and keep it disabled.

Hosting Interference

↑ Back to top
If the issue persists with only WooCommerce and One Page Checkout activated, it’s suggested that you contact your hosting provider and ask them if there is any reason why the hosting would block this AJAX call. Examples of these reasons might have to with security rules, firewalls, and permissions. Caching on the page can also interfere with the AJAX calls. Ask your hosting provider if AJAX requests are cached and if there is a way to exclude specific pages from caching. If so, exclude the page that displays One Page Checkout. If the issue persists and the cause has not been found, open a support ticket. Please include any steps you have taken for troubleshooting and the information gathered.