🏬 Webshop · All integrations

Address autocomplete and validation in Magento 2 / Adobe Commerce

The Composer module lynbro/module-danadresse adds typo-tolerant Danish address search to checkout and the address book — and checks the shipping address of every new order against DAR.

The module hooks into the Luma checkout's Knockout fields (shipping, billing, multishipping), customer registration and the address book. One pick fills street, house number, floor/door, postcode, city and the Danish region Magento requires since 2.4.7. Server-side, an observer calls /datavask/adresser for every new order and shows the result in the order grid.

How to set it up

  1. Get two API keys
    Create a free account on the dashboard: a browser key locked to your shop domain and a server key for the order check.
  2. Download the module
    Get lynbro-module-danadresse from the download page — with SHA-256 and changelog.
  3. Install with Composer
    Put the zip in an artifacts/ folder, add it as a Composer repository and run composer require + setup:upgrade (see the code block).
  4. Paste the keys
    Stores → Configuration → LynBro → Danadresse — danske adresser: enable autocomplete with the browser key and the order check with the server key (stored encrypted).
# Install from the downloaded zip (Composer artifact)
# I Magento-roden / in the Magento root
mkdir -p artifacts && mv ~/Downloads/lynbro-module-danadresse-*.zip artifacts/
composer config repositories.danadresse artifact ./artifacts
composer require lynbro/module-danadresse
bin/magento module:enable Lynbro_Danadresse
bin/magento setup:upgrade && bin/magento setup:di:compile
bin/magento cache:flush

Good to know

Order check in the admin

An Address check column in Sales → Orders (Valid · Needs correction · Not found) and a private order comment with the official address.

2.4.6 – 2.4.8, Luma + Hyvä

Tested on Magento Open Source 2.4.8-p3. Hyvä pages (address book, registration) work without a compatibility module.

Never blocks

If the API fails or the address is unknown, the order goes through as usual — the module only adds hints and notes.

Ready to try it with Magento 2 / Adobe Commerce?

Free Hobby key, no credit card — the API answers in under 100 ms.

Get an API key →

API docs · Code examples · JS widget