Skip to content

Hyvä Checkout integration for Postcode.nl to validate Dutch addresses at Checkout

License

Notifications You must be signed in to change notification settings

trinos-nl/magento2-postcode-nl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Trinos - Postcode.nl Magento 2 module

Postcode.nl integration for Hyvä Checkout.

Installation

  1. Require the trinos-nl/magento2-postcode-nl package:

    composer require trinos-nl/magento2-postcode-nl
  2. Run bin/magento setup:upgrade

Additional steps

After installing the module, there are some additional steps you need to do.

1. Configure the module

Go to Stores > Configuration > Sales > Postcode.nl Api and configure the module. Enable the module and fill in your API key.

2. Checkout configuration

Go to Stores > Configuration > Hyvä Themes > Checkout and configure postcodenl_manual_mode field. This field is responsible for the manual mode checkbox of the postcode check.

Our recommendation is to set this fields to the following order and configuration:

Attribute Enabled Required Length
country_id Yes Yes 100%
postcode Yes Yes 50%
street.1 Yes Yes 25%
street.2 Yes No 25%
postcodenl_manual_mode Yes No 100%
street.0 Yes Yes 100%
city Yes Yes 100%