Details
Description
It appears that VIES uses the alpha2 code EL for Greece, while the official ISO_3166 is GR. This mismatch is causing an issue with our validation. To resolve, edit core/Util/tax/EuropeTax.php and change line 40 from:
$validator = new Validator(new Europa, $tax_id, $country);
To
$validator = new Validator(new Europa, $tax_id, $country == 'GR' ? 'EL' : $country);
And line 88 from:
$validator = new Validator(new Europa, $tax_id, $country);
To
$validator = new Validator(new Europa, $tax_id, $country == 'GR' ? 'EL' : $country);