Plugin Author
Diego
(@daigo75)
There is a thread discussing this kind of issue: https://wordpress.org/support/topic/vat-still-there-when-vat-number-entered-for-company/
The log file is in wp-content/uploads/wc-logs. The file name starts with eu-vat-assistant. Just make sure that you enable the debug mode in WooCommerce > EU VAT Assistant > Support, as that will log more information.
Note
The validation of VAT numbers is performed by the VIES system (http://ec.europa.eu/taxation_customs/vies/). The response returned by that system is what determines if a VAT deduction should be applied.
-
This reply was modified 9 years, 6 months ago by
Diego.
Thread Starter
cacac
(@cacac)
Hi,
As far as I can tell, that thread you linked to doesn’t solve the issue.
For Ireland, it seems to work, but for Luxembourg, Italy, Belgium, etc, it doesn’t.
Here is a link to the log file, after 1 successful try with Ireland and several failed attempts with other countries: https://drive.google.com/open?id=0B1ejp8xb96j8VkMtVnhQUHktWkU
You can test it here, but adding this test product to your basket and then checking out: http://vetcpd.co.uk/product/woocommerce-test/
Thanks.
Plugin Author
Diego
(@daigo75)
A response of “false” means that the request failed. This doesn’t depend on the plugin, as the request is exactly the same for all countries. It can happen that the server on which the site runs has difficulties reaching the VIES service, or the remote service cannot honour the request. The main VIES service is actually a dispatcher, as each country handles VAT validations independently. If a specific country struggles handling the requests, then a “false” response may be returned.
Both cases are outside the control of the plugin (if the validation request doesn’t go through, there isn’t much that it can do). The hosting provider might be able to check why the VIES service might not reachable. The second scenario, in which the VIES services simply rejects the request, is trickier, as there isn’t much that can be done about it.
Plugin Author
Diego
(@daigo75)
By the way, your log files shows successful requests for United Kingdom, Ireland, Belgium, Italy and Luxembourg, not just Ireland. This is a further confirmation that the communication issues don’t depend on the plugin (if they did, none of the validations would ever work).
Quick example, tested now with Belgium and valid VAT number 0871389305:
– Before VAT number, VAT applied: http://prntscr.com/dg5g89
– After entering VAT number, VAT deducted: http://prntscr.com/dg5gs6
-
This reply was modified 9 years, 6 months ago by
Diego.