Unexpected error on “block” checkout page

Forums EU/UK VAT Manager for WooCommerce Unexpected error on “block” checkout page

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #158204
    Raphael Mazeau
    Participant

    Hi,

    We’re trying to setup the new Woocommerce cart and checkout (the blocks versions) on a staging version of a website, to see if everything works before doing it on production.

    We get an error instead of the VAT field on the checkkout page :

    Oups !
    Unexpected error in: eu-vat-for-woocommerce/checkout-eu-vat-field
    Erreur : Cannot read properties of null (reading ‘addEventListener’)

    You can see it by going to the checkout page on the staging website : https://quaisud.staging.rectangle.net/
    (Nginx protection : User: rectangle, Pass: rectangle).

    Any idea what happens ?

    I tried to switch to the Storefront theme to rule out any theme compatibility problem, but I still see the same error.

    Thanks !

    • This topic was modified 2 months, 3 weeks ago by Raphael Mazeau.
    • This topic was modified 2 months, 3 weeks ago by Raphael Mazeau.
    • This topic was modified 2 months, 3 weeks ago by Raphael Mazeau. Reason: Added info about Storefront test
    #159316
    Taha
    Moderator
    Plugin Support

    Hi Raphael,

    Thanks for reaching out. We received your email, and we have directed you to resolved the first issue by enabling the block-based checkout field option from the Advanced tab.

    Regarding the display options not updating, our development team is currently investigating the issue. We will provide you with an update as soon as we have more information.

    Thanks for contacting us, and we appreciate your patience!

    Best regards,

    #159408
    Raphael Mazeau
    Participant

    Yes, this option indeed fixed the JS error problem.

    Glad to know you’re investigating the display option problem (to allow to display the VAT field in the address area), let us know when you have news :
    Thanks !

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.