Jump to content

[FREE MODULE] Vat Checker with cache, NoVat table, company check


Recommended Posts

Vat Checker with VIES cache and force NO VAT table.

VAT Excluded table you can find in Customers Tab.

To work "Check company name" and "Check company address" features you need to install and enable "INTL" php-extension.

To get fastest performance you need to install and enable "pecl-APCu" php-extension.

PS 1.7+ an of course 8.x. php 7.4+, 8.1+ Require php-soap extension. Extensions php-intl and pecl-APCu is optional.

No ps overrides using. Fully automatic work.  

Module set VAT-Free to customer if valid VAT provided.  

Module checks VAT number and can check VAT address and/or VAT name of company.  
(Not all countries support address/name checking. For address/name checking you need "php-intl" and adjust matching scale in BO.).  

Module caching VIES responses. Cached VAT data can be used 1 week from local cache table without query to VIES.

to change cache time modify vatchecker.php line 76

private $cacheTime = 604800; //sec  (604800 - 1 week)

Module adds Customers force no vat table in Customers tab. (refresh page after install)  

Module can check VAT on every checkout to prevent VAT data change by customer or on customer address change.

Developed in 2022. Adapted for PS8.

vatchk.thumb.jpg.60d35ae3474109fe91151c7288b4267f.jpg

Download vatchecker.zip (Always latest version.)

Also try my other modules Simple Security  Html Minifier Simple Export Simple Votings

  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...