• Resolved pipoulito

    (@pipoulito)


    Hi,

    Please very urgent my customers have thie error on checkout page:
    Unexpected token T in JSON at position 0 error

    Maybe it happend only with Tickets (The event calendar) in the cart , i don’t know…
    I am know trying to use CheckoutWC on the checkout page but same problem!
    Please it is very urgent !!
    https://jazzoparc.com/commander/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter pipoulito

    (@pipoulito)

    ” disabled all plugins except Woocommerce”
    DONE

    “changed the theme – installed storefront theme with disabled plugins and payment modules – ”
    DONE

    The only solution that was found after a long and painful search – is to disable the setting Woocommerce “permission to register on the order page.”
    IN TEST…

    If you have a complete solution to this problem….

    Hi @pipoulito

    Is this happening only when your customer places an order?

    It sounds like something is outputting some debug data before the expected data, this is usually caused by a plugin or a theme, but since you already did some troubleshooting steps, I’d recommend setting up a staging site, with a very basic setup (Storefront theme and WooCommerce only).

    If your host doesn’t offer that option, we recommend WP Staging for quickly spinning up a new test site.

    Then, could you please share a copy of your System Status from your production and from your staging sites?

    You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.? Once you’ve done that, paste it here in your response.

    I hope to hear from you soon! My very best,

    Thread Starter pipoulito

    (@pipoulito)

    Hi,

    Yes this happens when the customer clicks on place order.

    I can use a staginf site but the problem how can i test the credit card ? Should i fill my real credit card ?

    thanks

    HI @pipoulito

    Generally, payment gateways such as Stripe have a test environment that you can set up with your staging site.

    For Stripe, you can get to know more about testing here:

    https://stripe.com/docs/testing

    I hope that helps! All the best,

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, the above info was helpful.

    If you have further questions, please feel free to open a new topic.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Unexpected token T in JSON at position 0 error’ is closed to new replies.