[Skip to main content](#vessel-content)

#   HikaShop 6.7.1 – VIES VAT validation fails due to HTTP WSDL URL

##

- **[thomas.eilers@gfse.org](/forum/user/84383-thomas-eilers-gfse-org "View thomas.eilers@gfse.org's Profile")**
- [![thomas.eilers@gfse.org's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/84383-thomas-eilers-gfse-org "View thomas.eilers@gfse.org's Profile") Topic Author
- [ Offline](/forum/user/84383-thomas-eilers-gfse-org)

Less More

- Posts: 27
- Thank you received: 4
-
-

4 hours 34 minutes ago [\#100000457](#100000457) by [thomas.eilers@gfse.org](/forum/user/84383-thomas-eilers-gfse-org "View thomas.eilers@gfse.org's Profile")  *[HikaShop 6.7.1 – VIES VAT validation fails due to HTTP WSDL URL](/forum/40-taxes/100000088-hikashop-6-7-1---vies-vat-validation-fails-due-to-http-wsdl-url#100000457 "-- Browser(s) name and version -- : Firefox 159.0  Hello,  We discovered an issue with the online VAT number validation in HikaShop 6.7.1.  Although the PHP SOAP extension is installed and enabled, the VIES validation failed with the following error:  The error occurred in:  The problem: HikaShop accepted fictitious VAT numbers such as  and  because the online validation failed and only the number format was checked. This is particularly problematic because customers could receive VAT exemptions using invalid VAT numbers.  Our solution: We changed the WSDL URL in the vat.php from:  to:  After this modification, the validation works correctly:  &#42;  → Rejected  &#42;  → Rejected  &#42; Genuine, valid Austrian VAT number → Accepted  Could you please include this HTTPS correction in an upcoming HikaShop update?  It would also be helpful to review the fallback behavior when the VIES service is unavailable, as accepting unverified VAT numbers may result in incorrect tax exemptions.  Thank you for your support. Best regards,")* was created by *[thomas.eilers@gfse.org](/forum/user/84383-thomas-eilers-gfse-org "View thomas.eilers@gfse.org's Profile")*

-- Browser(s) name and version -- : Firefox 159.0

Hello,

We discovered an issue with the online VAT number validation in HikaShop 6.7.1.

Although the PHP SOAP extension is installed and enabled, the VIES validation failed with the following error: Code:

SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl'

The error occurred in: Code:

administrator/components/com_hikashop/helpers/vat.php

**The problem:**
HikaShop accepted fictitious VAT numbers such as Code:

ATU00000000

and Code:

ATU12345678

because the online validation failed and only the number format was checked.
This is particularly problematic because customers could receive VAT exemptions using invalid VAT numbers.

**Our solution:**
We changed the WSDL URL in the vat.php from: Code:

http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl

to: Code:

https://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl

After this modification, the validation works correctly:

- Code:

ATU00000000

→ Rejected
- Code:

ATU12345678

→ Rejected
- Genuine, valid Austrian VAT number → Accepted

Could you please include this HTTPS correction in an upcoming HikaShop update?

It would also be helpful to review the fallback behavior when the VIES service is unavailable, as accepting unverified VAT numbers may result in incorrect tax exemptions.

Thank you for your support.
Best regards,

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzEwMDAwMDA4OC1oaWthc2hvcC02LTctMS0tLXZpZXMtdmF0LXZhbGlkYXRpb24tZmFpbHMtZHVlLXRvLWh0dHAtd3NkbC11cmw/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86320
- Thank you received: 14276
-
-

2 hours 12 minutes ago [\#100000460](#100000460) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[HikaShop 6.7.1 – VIES VAT validation fails due to HTTP WSDL URL](/forum/40-taxes/100000088-hikashop-6-7-1---vies-vat-validation-fails-due-to-http-wsdl-url#100000460 "-- Browser(s) name and version -- : Firefox 159.0  Hello,  We discovered an issue with the online VAT number validation in HikaShop 6.7.1.  Although the PHP SOAP extension is installed and enabled, the VIES validation failed with the following error:  The error occurred in:  The problem: HikaShop accepted fictitious VAT numbers such as  and  because the online validation failed and only the number format was checked. This is particularly problematic because customers could receive VAT exemptions using invalid VAT numbers.  Our solution: We changed the WSDL URL in the vat.php from:  to:  After this modification, the validation works correctly:  &#42;  → Rejected  &#42;  → Rejected  &#42; Genuine, valid Austrian VAT number → Accepted  Could you please include this HTTPS correction in an upcoming HikaShop update?  It would also be helpful to review the fallback behavior when the VIES service is unavailable, as accepting unverified VAT numbers may result in incorrect tax exemptions.  Thank you for your support. Best regards,")*

Hi,

Thank you for the detailed report, you are right. The European Commission no longer serves the VIES WSDL over http (it now answers with a 403 error), so the online check could not reach the service and only the format of the number was verified.

This is fixed in the latest build of HikaShop 6.7.1: HikaShop now calls VIES over https, both for the WSDL and for the check itself (the WSDL still declares an http address for the service, so changing only the WSDL address, as you did, leaves the calls themselves on http). Download HikaShop 6.7.1 again from your account on our website and install it over your current installation: your settings are kept. As the version number is the same, the Joomla updater will not offer it, so the install has to be done manually. This also replaces your modification of vat.php.

We tested it with the "Online check" option: ATU00000000 and ATU12345678 are now refused and genuine Austrian VAT numbers are accepted.

About the fallback: when VIES itself cannot be reached (it is regularly unavailable, as a whole or for one member state), HikaShop accepts a number with a valid format and writes the failure in the HikaShop log. This is deliberate, as refusing the number in that case would block every company customer at checkout during each VIES outage. The failure being logged, you can check the numbers recorded during such periods. If you prefer to refuse them, a small plugin can take over the check through the onBeforeVATOnlineCheck event.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzEwMDAwMDA4OC1oaWthc2hvcC02LTctMS0tLXZpZXMtdmF0LXZhbGlkYXRpb24tZmFpbHMtZHVlLXRvLWh0dHAtd3NkbC11cmw/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.064 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
