Address Form Widget
A drop-in address form that checks the postcode with NIPOST before the customer can continue.
Try it
Verify the postcode to continue.
What your website receives
Fill the form and click "Use this address".
Add it to any website
Paste this into a WordPress custom HTML block, a Shopify page or any HTML page.
<iframe src="https://YOUR-SITE/embed/address-form" width="100%" height="620" style="border:0"></iframe>
<script>
window.addEventListener("message", function (e) {
if (e.origin !== "https://YOUR-SITE") return;
if (e.data && e.data.type === "alds-postcode-address") {
console.log(e.data.address); // send this to your own form or checkout
}
});
</script>