• Resolved willthing

    (@willthing)


    Approx 3 weeks ago I received word from my client that their online store was no longer working. I have installed the storefront theme from WordPress (and this issue also occurs on their Twenty Seventeen theme).

    Issue One: When going through the checkout process, a rotating circle appears over the “Your Order” and credit card areas. It is the blockoverlay CSS and a Google search prompted this CSS fix. This does fix this problem.

    /* Fix issues with jquery overlay blocking checkout button */
    .woocommerce .blockUI.blockOverlay {
    position: relative!important;
    display: none!important;
    }

    However, the second issue is when submitting payment via the authorize.net plugin. After entering the card information and hitting submit, it rolls back to the top of the page and gives the following error. This is occuring regardless of which Authorize.net plugin I’m using.

    SyntaxError: Unexpected token < in JSON at position 0

    Any help would be GREATLY appreciated!

    Thanks,
    Will

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • There’s an index.html file that resides in the root folder where your WordPress installation lives (https://yagaschiliquest.com/index.html). This shouldn’t be there. What is happening, is that when the checkout process is making an AJAX call to wcajax=checkout that index page is loading instead. Since the AJAX call expects JSON as a response, but it is getting HTML instead so the error is presented: https://cld.wthms.co/FjktAq

    Thread Starter willthing

    (@willthing)

    The index.html is the home page to the site. It’s a mix of an old HTML site using WP/Woocommerce as the cart. It’s not the best configuration but the one the client wants for now. Is there any way to keep this in place and fix?

    Thanks so much for the reply!

    Will

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘blockoverlay / JSON errors’ is closed to new replies.