• Resolved ewijdemans

    (@ewijdemans)


    Hi,

    I’m experiencing duplicate error messages when the entered VAT-number is nog long enough.

    To reproduce:
    WP 5.9.3
    EU VAT Compliance 1.26.5
    WooCommerce 6.4.1

    Go to checkout, fill in an incomplete VAT-number, wait a few miliseconds and the standard error-message-box from WC appears telling me the VAT-number is nog long enough (obviously). This is still as expected.
    What’s unexpected is that when the VAT-number is changed but still not long enough, the message is duplicated, resulting in 2 equal messages.

    The underlying XHR response is in the line of:
    {"result":"failure","messages":"<ul class=\"woocommerce-error\" role=\"alert\">\n\t\t\t<li>\n\t\t\tThe VAT number entered is not long enough to be valid for the chosen country.\t\t<\/li>\n\t\t\t<li>\n\t\t\tThe VAT number entered is not long enough to be valid for the chosen country.\t\t<\/li>\n\t<\/ul>\n"}

    You see, the error message appears multiple times.

    Could you please look into this? Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author David Anderson

    (@davidanderson)

    Hi,

    Please consult the pinned topic regarding how to get support for paid versions of plugins at the top of the support forum.

    David

Viewing 1 replies (of 1 total)
  • The topic ‘Duplicate error messages’ is closed to new replies.