@ideal-postcodes/shopwired

Ideal Postcodes ShopWired bindings

Usage no npm install needed!

<script type="module">
  import idealPostcodesShopwired from 'https://cdn.skypack.dev/@ideal-postcodes/shopwired';
</script>

README

Ideal Postcodes ShopWired Integration

Add UK address search and validation to ShopWired address forms

Dependency Status Release CI npm version

@ideal-postcodes/shopwired builds the integration code to enable UK address search and validation on ShopWired address forms.

For installation, feature list and configuration see our guide.

This integration injects address validation scripts at the site of ShopWired's custom checkout javascript.

ShopWired introduced a breaking change? Contact support.

Links

Configuration Options

Upon loading, the script will exit unless a global configuration object (idpcConfig) is detected.

<script type="text/javascript">
  window.idpcConfig = {
    apiKey: "iddqd",
  };
<script>

A list of configuration options can be found in our guide.

Screenshots

Address autocompletion

Address Autocomplete