VAT Cleaning in alg_wc_eu_vat_parse_vat
-
Can you remove dots and spaces from the VAT number before validation? I noticed quite a few customers enter VAT numbers with dots (.) in between. I see you are already removing
-
in the code, so I suggest adding.
andCode suggestion, in
eu-vat-for-woocommerce/includes/functions/alg-wc-eu-vat-functions-validation.php
, line 21$full_vat_number = str_replace(['-','.',' '],'',strtoupper( $full_vat_number ));
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.