Quote:
Originally Posted by mixon
I've attached the patch for no HTTPS bouncers installations.
The error means there is no connection to the vat checking service. The results are cached for 10 minutes by default. So, you can try clearing the cache and try again.
If problem persists, please try enabling the logging for the VAT checking service. To do that define a constant in config.local.php script e.g. as follows:
PHP Code:
define('XC_VAT_NUMBER_CHECKER_DEBUG', 1);
If you have no config.local.php file, just create a new one in the X-Cart installation directory. The content of the file should be like this:
PHP Code:
<?php define('XC_VAT_NUMBER_CHECKER_DEBUG', 1); ?>
After that check the var/log directory and find the x-errors_xcisvatappspot-xxxxxx.php file.
|
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:
Quote:
[24-Mar-2015 17:31:15] XCIsVATAppSpot message:
Array
(
[class] => XCIsVATAppSpot
[host] => isvat.appspot.com
[url] => /BE/0438789495/
[result] => true
[raw] => Array
(
[headers] => HTTP/1.1 200 OK
Content-Type: application/javascript
Date: Tue, 24 Mar 2015 22:31:17 GMT
Server: Google Frontend
Content-Length: 4
Alternate-Protocol: 80:quic,p=0.5
Connection: close
[data] => true
)
)
|