Download the PHP package devcccc/magento2-address-validation without Composer
On this page you can find all versions of the php package devcccc/magento2-address-validation. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download devcccc/magento2-address-validation
More information about devcccc/magento2-address-validation
Files in devcccc/magento2-address-validation
Package magento2-address-validation
Short Description Magento 2 address validation supporting Endereco as service!
License GPL-3.0+
Homepage https://wwww.endereco.de
Informations about the package magento2-address-validation
magento2-address-validation
For Magento: Extended address validation against webservices
About
Address validation module for Magento 2.2, 2.3, 2.4 using Endereco as Webservice for validation. A separate Endereco Account (https://www.endereco.de/) is required.
This supports the address validation on checkout for the shipping address and some autocomplete functions - the eMail validation is integrated as beta version as well.
Installation
After installation:
If your Magento installation is running into production mode you have also to deploy the static content files:
For development systems we suggest a cleanup of the generated and pub/static/frontend-folders:
Direct requests
Important: to use the faster direct requests additional webserver configuration is required.
For nginx you have to add a new location-block within your nginx-Site-Configuration. For Apache you have to copy the DirectProxy.php-file and add a Rewrite in the .htaccess.
For further instructions see below.
Apache Webserver
After installation/update copy the DirectProxy-File to the pub-directory:
Edit the .htaccess in the pub-folder. Add a rewrite for the DirectProxy.php. Its required that this rewrite is done before the index.php rewrite.
Add the following line to pub/.htaccess:
To do this before the index.php-rewrite your pub/.htaccess might look like:
Now enable the direct requests in the settings of the extension within the Magento Admin-Backend.
Menu: Stores => Configuration. Select "CCCC Config" => Address validation with Endereco => "Use direct requests" => Yes
nginx Webserver
For nginx a new location-Block within your nginx-site-configuration is required. Add this location:
This location-Block should be placed directly in the server-block for the Magento-shop.
In the existing nginx-configuration we have to extend the script-whitelist of the "PHP entry point for main application". Normally it will look like:
You must add DirectProxy here:
Now restart the nginx and then enable the direct requests in the settings of the extension within the Magento Admin-Backend.
Menu: Stores => Configuration. Select "CCCC Config" => Address validation with Endereco => "Use direct requests" => Yes
All versions of magento2-address-validation with dependencies
ext-curl Version *
ext-json Version *
php Version ^7.4.0|^8.0.0|^8.1.0