JS check not working on valid VAT

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #105252
    Marijn
    Guest

    We found a bug in your plugin.

    When a registered customer returns while logged in to the website, all the fields (including VAT) are filled in automatically. At that moment there is no JS check anymore to validate the VAT number & recalculate, so when that user has a valid EU VAT number the VAT is not recalculated to zero.

    There is an option in your plugin for an additional check after checkout, but that one only checks if it’s a valid VAT number, it doesn’t recalculate the VAT.

    We fixed this ourselves by adding some JS to the checkout page to force this VAT check recalculation, but it would be best if this is fixed within the plugin.

    • This topic was modified 11 months, 2 weeks ago by Omar Dabbas.
    #105253
    WPWhale
    Moderator

    Hi Marijn,

    Glad to hear you were able to fix it, I created the exact same scenario, and VAT was validated and excempted automatically, it might be related to JS restrictions on the theme you’re using? Can you test it on a different theme to see if it happens again?

    Omar

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