tig / postcode-magento2
tig/postcode-magento2
Postcode Service Magento 2 extension
Introduction
With the Postcode Service you can auto complete a partly given address and check its validity.
This code base is an extension (plugin) for the Adobe Magento platform using the Postcode Service
API https://api.postcodeservice.com. The extension is available
and maintained free or charge. However, there is a fee
associated with using the Postcode Service, which is integrated with the extension. The
exact cost depends on the amount of usage. You can find detailed pricing information on the website
at https://postcodeservice.com/#compare-packages
3 Reasons for using the Postcode Service Adobe Magento extension:
- Superfast performance due to specific code and design optimizations for Adobe
Magento webshops - Accurate and reliable data, ahead of the market
- Secure: Independent of logistics companies
Installation
We strongly recommend that you use a staging environment for the installation, and to also make a
backup of your environment.
Installation using composer (Recommended)
To install the extension login to your environment using SSH.
Then navigate to the Magento 2 root directory and run the following commands in the same order as
described:
Enable maintenance mode:
php bin/magento maintenance:enable
Install the extension:
composer require tig/postcode-magento2
Enable the Postcode Service Magento 2 extension
php bin/magento module:enable TIG_Postcode
Update the Magento 2 environment:
php bin/magento setup:upgrade
When your Magento environment is running in production mode, you also need to run the following
commands:
Compile DI:
php bin/magento setup:di:compile
Deploy static content:
php bin/magento setup:static-content:deploy
Disable maintenance mode:
php bin/magento maintenance:disable
How to update the extension
To update the Postcode Service Extension run the following commands:
composer update tig/postcode-magento2
php bin/magento setup:upgrade
Alternatively, install the extension manually
- Download the extension directly
from github by clicking on Code and then
Download ZIP. - Create the directory app/code/TIG/Postcode (Case-sensitive)
- Extract the zip and upload the code into app/code/TIG/Postcode
- Enable the Postcode Service Magento 2 extension
php bin/magento module:enable TIG_Postcode
- Update the Magento 2 environment
php bin/magento setup:upgrade
Configuration
After completing the installation process, the extension should be readily available in the backend
of your Magento webshop. From there, you can configure the extension according to your requirements:
-
Go to Stores -> Configuration -> Sales -> Postcode Service
-
Open the Configuration tab
-
Change the Modus from "Off" to "Test" or "Live"
-
Insert your Client ID and Api key (Secure Code). When you selected “Test” at the Modus, you can
find test credentials below the fields - keep in mind there is a daily limit -.
To sign up for a paid account and get your Client ID and Api key, simply
visit https://postcodeservice.com and subscribe. -
In the 'Countries' section, select the country for which you wish to enable the Postcode Service.
-
Flush your cache
Visual representation of the Postcode Service Magento extension during the checkout process
For Dutch postcodes
For Belgium postcodes
For German postcodes
The functionality for Germany is similar to that for Belgium. Please refer to the preceding example
for a demonstration of its operation.
For France Postcodes
The functionality for France is similar to that for Belgium and Germany. Please refer to the
preceding example for a demonstration of its operation.
Further documentation
You can find the underlying Postcode Service API documentation
here: https://developers.postcodeservice.com
Frequently Asked Questions
Q: Which third party extensions are supported and compatible?
A: While our extension is compatible with many third-party checkout extensions, we do not provide
support for third-party checkout extensions from OneStepCheckout.com, Amasty, and MagePlaza.
Although there are numerous webshops that successfully use these extensions in combination with our
Postcode Service extension, we cannot guarantee their compatibility due to potential issues arising
from custom implementations. As a result, we are unable to offer support for any issues that may
arise from their use.
Requirements
Adobe Magento Open Source (Community edition) or Adobe Commerce (Enterprise version).
Version support
We follow the release support lines dates from
Adobe https://experienceleague.adobe.com/docs/commerce-operations/release/versions.html for the
version support of this extension.
Technical Support with the extension
See https://postcodeservice.com/support/
Release history
See https://github.com/postcodeservice/postcode-magento2/releases
About
The Postcode Service is a trademark of the Total Internet Group B.V.
No changelog yet
The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.
| Version | Stability | QA Status | Released |
|---|---|---|---|
| 1.7.0 | stable | Fail | 2024-04-05 14:44:22 |
| 1.6.0 | stable | Not tested | 2023-10-20 19:32:30 |
| 1.5.5 | stable | Not tested | 2023-05-19 10:05:52 |
| 1.5.4 | stable | Not tested | 2023-04-25 14:09:27 |
| 1.5.3 | stable | Not tested | 2023-03-21 11:05:19 |
| 1.5.2 | stable | Not tested | 2022-12-19 12:39:06 |
| 1.5.1 | stable | Not tested | 2022-07-05 13:03:43 |
| 1.5.0 | stable | Not tested | 2022-07-05 09:38:21 |
| 1.5.0-RC1 | RC | Not tested | 2022-05-19 11:45:19 |
| 1.4.1 | stable | Not tested | 2021-11-04 10:06:18 |
| 1.4.0 | stable | Not tested | 2021-07-12 12:29:29 |
| 1.3.3 | stable | Not tested | 2021-04-20 11:47:00 |
| 1.3.2 | stable | Not tested | 2021-03-01 13:00:59 |
| 1.3.1 | stable | Not tested | 2020-10-26 11:10:01 |
| 1.3.0 | stable | Not tested | 2020-10-12 14:07:33 |
| 1.2.7 | stable | Not tested | 2020-07-29 14:10:51 |
| 1.2.6 | stable | Not tested | 2020-04-29 15:46:10 |
| 1.2.5 | stable | Not tested | 2020-01-27 12:23:33 |
| 1.2.4 | stable | Not tested | 2019-10-10 09:24:04 |
| 1.2.3 | stable | Not tested | 2019-06-26 12:50:01 |
| 1.2.2 | stable | Not tested | 2019-03-27 12:26:32 |
| 1.2.1 | stable | Not tested | 2019-02-04 12:07:17 |
| 1.1.10 | stable | Not tested | 2019-01-22 11:44:03 |
| 1.2.0 | stable | Not tested | 2019-01-08 09:28:33 |
| 1.1.12 | stable | Not tested | 2018-12-12 09:24:33 |
| 1.2.0-RC1 | RC | Not tested | 2018-12-03 12:31:02 |
| 1.1.11 | stable | Not tested | 2018-10-19 13:57:59 |
| 1.1.9 | stable | Not tested | 2018-08-07 08:07:19 |
| 1.1.8 | stable | Not tested | 2018-07-26 14:58:24 |
| 1.1.7 | stable | Not tested | 2018-06-28 08:28:57 |
| 1.1.6 | stable | Not tested | 2018-06-21 11:39:24 |
| 1.1.5 | stable | Not tested | 2018-06-13 13:53:43 |
| 1.1.4 | stable | Not tested | 2018-05-28 12:37:11 |
| 1.1.3 | stable | Not tested | 2018-05-22 13:47:35 |
| 1.1.1 | stable | Not tested | 2018-05-03 15:39:17 |
| 1.1.0 | stable | Not tested | 2018-04-23 09:54:02 |
Requires 3
| Package | Constraint |
|---|---|
| magento/module-checkout | >=100.2.6,<=100.2.11|~100.3|~100.4 |
| magento/module-quote | >=101.0.5,<=101.0.11|~101.1|~101.2 |
| php | ~8.1|~8.2 |
Requires-dev 3
| Package | Constraint |
|---|---|
| magento/marketplace-eqp | ^1.0 |
| object-calisthenics/phpcs-calisthenics-rules | ^2.0 |
| satooshi/php-coveralls | ^1.0 |
| Tool | Status | Findings | Summary |
|---|---|---|---|
| PHPCS | Fail | 6 | 6 errors (gating threshold: error-severity=10, ruleset: Magento2) |
| PHPStan | Fail | 26 | 26 errors (level 4, ruleset: phpstan + bitexpert/phpstan-magento) |
| Cpd | Fail | 4 | 4 duplicated chunks spanning 204 total lines (min-lines=5, min-tokens=70) |
| Security | Skipped | 0 | no resolvable dependency tree to audit — Your requirements could not be resolved to an installable set of packages. Problem 1 |
Turn an existing module into recurring revenue.
If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.