2017 © Pedro Peláez
 

magento2-module magento2-vatid

Remove unwanted characters (. , - and spaces) from entered VAT-numbers and remove the country prefix if it matches the entered country of the address.

image

michielfb/magento2-vatid

Remove unwanted characters (. , - and spaces) from entered VAT-numbers and remove the country prefix if it matches the entered country of the address.

  • Monday, September 26, 2016
  • by michielfb
  • Repository
  • 1 Watchers
  • 0 Stars
  • 20 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 11 % Grown

The README.md

Michielfb/Magento2-Vatid

Remove unwanted characters (. , - and spaces) from EU VAT-numbers and remove the country prefix if it matches the entered country of the address., (*1)

This is usefull since the VAT-number checker of Magento marks VAT-numbers with a country prefix as invalid., (*2)

Installation

Use composer to install this plug-in:, (*3)

composer require michielfb/magento2-vatid, (*4)

Example

On a address a VAT-number is entered as NL123456789B01 and selects the country Netherlands (NL). By default Magento will mark this as invalid., (*5)

When this plug-in is used the country prefix will be stripped from the VAT-number resulting in the VAT-number 123456789B01. Magento will mark this VAT-number as valid*., (*6)

* please note that the VAT-number is an example. VAT-numbers will only be marked as valid if they actually exists., (*7)

The Versions

26/09 2016

dev-master

9999999-dev

Remove unwanted characters (. , - and spaces) from entered VAT-numbers and remove the country prefix if it matches the entered country of the address.

  Sources   Download

MIT

24/09 2016

0.0.1

0.0.1.0

Remove unwanted characters (. , - and spaces) from entered VAT-numbers and remove the country prefix if it matches the entered country of the address.

  Sources   Download

MIT