LokiCheckout_EuVat

Jump to User Docs

Other
PHP 8.3 | 8.4
Magento 2.4.7 | 2.4.8
Integration Tests 1
Latest Release 2.0.7

This is an add-on package to the LokiCheckout that validates VAT IDs in both billing and shipping address via the online VIES service.

Installation

Install this package via composer (assuming you have setup the composer.yireo.com repository correctly already):

composer require loki-checkout/magento2-eu-vat

Next, enable this module:

bin/magento module:enable LokiCheckout_EuVat

Usage

Note that this is not based upon the Geissweb module.

Make sure customer/address/taxvat_show is enabled

Support

For getting support, create an Issue under the following project URL:

https://gitlab.yireo.com/loki-checkout/LokiCheckout_EuVat

Loki Components

The following LokiComponents are created or references in this module:

loki-checkout.shipping.address.vat_id loki-checkout.shipping.address.country_id loki-checkout.billing.address.vat_id loki-checkout.billing.address.country_id
Module Dependencies

The following dependencies are declared in the module its `etc/module.xml` file:

Magento_Customer Magento_Store LokiCheckout_Core Loki_Components Loki_FieldComponents Yireo_IntegrationTestHelper
Composer details
Magento module name
LokiCheckout_EuVat
Composer name
loki-checkout/magento2-eu-vat
Composer version
2.0.7
Default branch
main
Requirements
magento/framework: ^103.0
magento/module-customer: ^103.0
loki/magento2-css-utils: ^1.0
loki-checkout/magento2-core: ^2.0
loki/magento2-components: ^2.0
ext-pcre: *
Releases
dev-main 27 August 2025
2.0.7 26 August 2025
2.0.6 21 August 2025
2.0.5 18 August 2025
2.0.4 13 August 2025
2.0.3 07 August 2025
2.0.2 01 August 2025
2.0.1 30 July 2025
2.0.0 22 July 2025
Changelog

[2.0.7] - 26 August 2025

Fixed

  • 2067d98 Add GitLab CI files

[2.0.6] - 21 August 2025

Fixed

  • Add dependency with loki/magento2-css-utils
  • Fix duplicate import
  • Replace LokiComponentsUtilBlockCssClass with LokiCssUtilsUtilCssClass
  • Declare used PHP namespaces
  • Document latest version of template
  • Add missing strict_types declaration

[2.0.5] - 18 August 2025

Fixed

  • Allow for PHP 8.1 compatibility
  • Lower requirements to PHP 8.1

[2.0.4] - 13 August 2025

Fixed

  • Add data-valid attribute to fields

[2.0.3] - 07 August 2025

Fixed

  • Lower PHP requirement to PHP 8.2+

[2.0.2] - 01 August 2025

Fixed

  • Add missing $css wrapper

[2.0.1] - 30 July 2025

Fixed

  • Allow entering NLNL000000 as VAT ID anyway

[2.0.0] - 22 July 2025

Fixed

  • Rename PHP namespace from Yireo_Loki* to Loki*
  • Rename composer package from yireo/magento2-loki* to loki/magento2*
  • Bump loki/magento2-components to major 2.0
  • Bump loki/magento2-field-components to major 2.0
  • Bump LokiCheckout_Core to 2.0.0
  • Major rewrite of namespaces

[1.0.0] - 26 May 2025

Fixed

  • Generate new MODULE.json with simple test count
  • Allow PHP 8.4 in CI
  • Update composer and module deps

[0.0.7] - 25 April 2025

Fixed

  • Allow for LokiCheckout 1.0

[0.0.6] - 25 April 2025

Fixed

  • Remove x-model because of CSP compliance
  • Allow upgrade to LokiComponents 1.0
  • Rewrite FieldTemplateLocator usage to be independent of context

[0.0.5] - 08 April 2025

Fixed

  • Housekeeping changes

[0.0.4] - 11 March 2025

Fixed

  • Accessibiity fixes
  • Fix styling of country box when there is an error
  • Add module dependencies
  • Huge refactoring to move logic into new LokiFieldComponents
  • Improve handling of AJAX errors

[0.0.3] - 22 February 2025

Fixed

  • Fix typo
  • Change deps

[0.0.2] - 20 February 2025

Fixed

  • Handling of timeout to EU VIES service
  • Prevent empty VAT ID from being saved
  • Handle SOAP errors during EU VAT validation properly

Added

  • Create abstraction of EU VAT validation for Geissweb purpose
  • Save VAT ID of quote to customer as well

[0.0.1] - 21 January 2025

  • Add proper deps
  • Initial release
Jump to User Docs

Last modified: July 22, 2025