When I use below method, and customer enters '1234' as their VAT id number:
$taxId = $customer->createTaxId("eu_vat", "DK1234");
Customer are redirected to a 500 error page, with the following error message:
ERROR: Invalid value for EU VAT.
How can I prevent the default validation for EU VAT and avoid redirecting users to a 500 error page, allowing them to enter a VAT company ID number even if it is wrong?
Should I maybe use a custom Stripe ID field for company VAT number which do not have a default validation?