Download the PHP package copex/vatfix without Composer

On this page you can find all versions of the php package copex/vatfix. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package vatfix

CopeX_VatFix

Magento2 module to enable VAT ID Validation with countrycodes (ex. ATU69932326) as usual in EU.

Latest Stable Version Total Downloads Monthly Downloads Build Status

This extension for Magento2 changes the behaviour of VAT ID validation in Magento.

Magento2 can change a customers group regarding to a valid VAT ID. This feature is especially useful for companies within the EU. There is a small issue in Magento2 (also Magento1) thus it is not possible to correctly validate a VAT ID where the country code is in it. In Europe the VAT consists of 2 letters that represent the country and additional letters for the company identification. This plugin changes the behaviour how Magento validates the VAT ID so a full VAT ID can be entered. With this plugin it is possible to validate a VAT ID even for countries like Greece (ISO: GR, VAT: EL) or the United Kingdom (ISO: GB, VAT: UK) where the declarations collide.

With this extension installed it enables Magento2 to accept VAT IDs (UID) with prepended countrycodes (ex. ATU69932326)for all european countries. For all other countries the check stays the same. We use the original VIES Service to validate the given VAT ID / UID.

Installation

Copy the folder to your Magento2 "app/code" directory or install via composer

after that enable the plugin by:

followed by

followed by

Workflow

When a customer saves a vat number:

  1. the plugin takes the given string
  2. validates the country code if it is a valid EU country code defined in ISO-3166-Alpha-2-Code
  3. if it is valid, it changes the parameter for original method of magento.
  4. magento sends the validation-request to the VIES-Service and the normal workflow of magento is executed

Information

This extension is a plugin, it will work out of the box when it is installed correctly. There are no settings in the backend.

Demonstration

I made a Demonstration Video here

Author: Roman Hutterer
Website: CopeX eCommerce Solutions


All versions of vatfix with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package copex/vatfix contains the following files

Loading the files please wait ....