Hello All,
I have tried to intergrate the VAT hook but still got problems. Edit the file like this:
$VAT_CUSTOM_FIELD_NAME = "VAT Number";
$VAT_HOME_COUNTRY = "NL";
add_hook("ClientDetailsValidation",0,"checkVATNumberIsValid","");
add_hook("ClientAdd",0,"setTaxExemptForVAT","");
And make a custom client field named VAT Number, but when i order and i say i'm from Belgium and i use a BE VAT Number the system says: The supplied VAT Number is not valid
But when i do this check in the browser: http://isvat.appspot.com/BE/0447830192/ the output is true, why would WHCMS say that the vat number is incorrect?