Updates
Depending on how you initially installed the extension there are two update paths.
Composer update
- Put the store in maintenance mode, by running this command from your installation root directory:
bin/magento maintenance:enable
- Type
composer update [package-name-from-composer.json]
For examplecomposer update geissweb/module-euvat
- After the composer command completed, run these commands:
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy
bin/magento maintenance:disable
Classic update in app folder
This applies when you installed the extension by copying the .zip file contents to the app directory. Make sure you have SSH/SFTP access to copy the extension files to your Magento installation.
- Put the store in maintenance mode, by running this command from your installation root directory:
bin/magento maintenance:enable
- Remove the existing directory contents from
app/code/Geissweb/Euvat/
- Upload the directories from the .zip file into the folder
app/code/Geissweb/Euvat/
- After the upload, run the following commands:
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy
bin/magento maintenance:disable
Important update notes
Here you will find any important information when you update EU VAT Enhanced for Magento 2
Updating to version 1.20.0
This version now considers the billing address VAT number as well as the shipping address to control whether and which tax rate is applied. This allows handling of all known VAT cases, like intra-community triangular transactions and more.
You should test your tax calculation cases to confirm whether it matches your requirements.
Updating to version 1.17.0
Version 1.17.0 requires Magento 2.3 and PHP7.1 at least. As both versions are already EOL we recommend to update Magento to version 2.4.4.
Updating to version 1.14.0
This version adds the possibility to validate VAT numbers from the UK through the HMRC service. Some refactoring was needed to create a unified way to validate numbers with different interfaces.
Additionally this version adds an adminhtml grid for the VAT number validation results, where you can revalidate or delete validation results manually. We also added new ACL for the admin area, to control who can list, execute a (re)validation and delete results. That means that admin accounts which do not have all permissions, need to have the new permissions added to their role in order to use the validation.
Updating to versions > 1.7
Version 1.7 introduced a new field for the domestic country as well as the shop owners VAT number. You need to make sure that these details are properly configured, as it is one of the factors which is certainly responsible for the descision whether a order gets taxed or not.
The information will be taken from the store address config, as long as there is no domestic country set in the configuration.