I have successfully installed this onto a 1.3.8 (more testing needed), but wanted the verification to work.
After playing with the urls on the vies site i found the following fix seemed to work (not guaranteed!):
In includes/functions/extra_functions/functions_vatmod.php i replaced:
$monfd = file_get_contents('http://ec.europa.eu/taxation_customs/vies/viesquer.do', null, $context);
with
$monfd = file_get_contents('http://ec.europa.eu/taxation_customs/vies/viesquer.do?ms=' . $prefix . '&iso=' . $prefix . '&vat=' . $tva, r);
Not fully tested but seems to work, i also amended the admin version of this file to the same and that seems to work when editing a customers vat number.
Is this mod supposed to show the total during checkout without VAT as mine seems not to, but this may be installing the 1.3.7 version onto my 1.3.8!?!?
Bookmarks