Quote:
Originally Posted by deepblue_tiano
Why Vat Validation is getting error, Saying "Warning! The provided vat number is invalid". I entered the right VAT number and validated through http://ec.europa.eu. I applied your patch on our server still getting the same error message.
here's the log we got:
|
In debug mode vat validation function always returns FALSE, until a special constant is defined: XC_VAT_NUMBER_CHECKER_EMULATE_VALID.
The actual result returned by the vat validation service can be found in logs.
Thus you have 'TRUE' in logs and 'FALSE' as a result.
Here is the patch that will keep the original value in debug mode until extra special constant is defined.