Download the PHP package gwharton/autocustomergroup without Composer

On this page you can find all versions of the php package gwharton/autocustomergroup. 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 autocustomergroup

AutoCustomerGroup

Magento 2 Module - Auto Assign Customer Group based on Tax Scheme validation

Features

Overview

Changes introduced to both the UK and EU VAT Tax systems require changes to be made to the Magento Tax system. These changes are required URGENTLY, and while Magento consider the changes required and work towards a permanent solution, this module can be used as an interim measure.

The module should be considered BETA. I encourage users to analyse the code, suggest improvements, generate PR's where applicable.

Once customers have been placed in an appropriate group, tax rules can be configured to apply different taxes to each group, depending on what is required.

When enabled, this module replaces the existing Magento VIV functionality with a new, more extendable system. When the module is disabled, the existing Magento functionality is restored.

The module allows different base currencies to be used per website, if the price scope is set per website.

General

Frontend Validation Feedback

When enabled, this module replaces the frontend Form Element for the VAT/Tax ID Input box. If the currently selected Country has a Tax Scheme associated with it, and the Tax Scheme enabled, and a valid format VAT/Tax Id is input on the frontend, then the Id is validated by the relevant Tax Scheme and the results displayed to the customer. As soon as a country is selected that has a valid Tax Scheme associated with it, the customer is presented with a prompt above the input field, notifying what they need to enter.

Valid Irish VAT Number

Correct format but not valid

Wrong Format

Valid UK VAT Numnber

UK VAT Scheme

EU OSS/IOSS Scheme

Norway VOEC Scheme

Australia GST for Non Residents Scheme

New Zealand GST Scheme

Tax Rule to Tax Scheme Links

The module allows you to link each tax rule to a particular tax scheme. In post order functions, this allows you to query this module using order details, and obtain the list of tax rules that were applicable to the order, and return the TAX Scheme Registration Numbers linked to these rules. This is useful when generating invoices for example.

The links can be set under the existing Tax Rules Screens

Sales Order Grid

The module introduces a new Sales Order Grid column that will display details of the Tax Scheme used for the order.

Getting Information on Tax Schemes used on Order

This module stores additional information into the sales_order_tax_scheme table whenever an order is placed that triggered a tax rule linked to a Tax Scheme.

This information can be easily accessed so that information on which tax schemes were used on an order, can be included on the Invoice PDF's for example.

The following code shows how this can be achieved.



    use Gw\AutoCustomerGroup\Model\ResourceModel\OrderTaxScheme\CollectionFactory;

    /**
     * @var CollectionFactory
     */
    private $orderTaxSchemeCollectionFactory;

    ...
    ...
    ...

    $orderTaxSchemes = $this->orderTaxSchemeCollectionFactory->create()->loadByOrder($order);
    foreach ($orderTaxSchemes as $orderTaxScheme) {
        $storeCurrency = $this->currencyFactory->create()->load($orderTaxScheme->getStoreCurrency());
        $schemeCurrency = $this->currencyFactory->create()->load($orderTaxScheme->getSchemeCurrency());
        $baseCurrency = $this->currencyFactory->create()->load($orderTaxScheme->getBaseCurrency());

        output("TAX Summary - " . $orderTaxScheme->getName());
        output("Registration Number - " . $orderTaxScheme->getReference());
    }

Integration Tests

To run the integration tests, you need your own credentials for the Australian ID Checker services. Please add them to config-global.php. The tests for UK (Sandbox), EU and Australia use the live API's


All versions of autocustomergroup with dependencies

PHP Build Version
Package Version
Requires magento/module-backend Version ^101.0.0 || ^102.0.0
magento/module-tax Version ^100.3.0
magento/module-customer Version ^102.0.0 || ^103.0.0
magento/module-directory Version ^100.3.0
magento/framework Version ^102.0.0 || ^103.0.0
magento/module-store Version ^101.0.0
magento/module-quote Version ^101.1.0
magento/module-config Version ^101.1.0
ext-soap Version *
guzzlehttp/guzzle Version *
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 gwharton/autocustomergroup contains the following files

Loading the files please wait ....