The EU VIES team implemented a forward from http to https requests on the 17th April 2020. This leads to the situation, for some systems, that you can not validate VAT numbers in your Magento store with the old address (http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl) anymore.

We had already made that change in version 1.7.0 (M2) and 1.8.5 (M1) of our EU VAT Enhanced for Magento extensions, so all you need to do is to update to the latest version and the VAT number validation will be working again on your store.

Updating involves the process of testing everything in a test environment, as there were changes to the module which involve system configuration. At least you have to make sure that the system configuration is all set to your needs.

If you do not want or can not update yourself, we offer our update service.

Another possibility to make it working again with just a little change is as follows:

Magento 1

  • Open the file /app/code/local/Geissweb/Euvatgrouper/Model/Validation/Vies.php
  • Change the line var $service_url = 'http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl'; to var $service_url = 'https://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl';

Magento 2 Install in app/code/

  • Open the file /app/code/Geissweb/Euvat/Model/Validation/Vies.php
  • Change the line var $serviceUrl = 'http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl'; to var $serviceUrl = 'https://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl';

Magento 2 Composer Install

  • Open the file /vendor/geissweb/module-euvat/Model/Validation/Vies.php
  • Change the line var $serviceUrl = 'http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl'; to var $serviceUrl = 'https://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl';

We did not use the https address of the WSDL file before in our extension because in the past years there were problems with the https address. Now it looks these issues were solved and https is the standard at VIES too now, although the website still states http addresses everywhere.