@ideal-postcodes/shopwired
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @ideal-postcodes/shopwired

Weekly Downloads

2

Version

2.0.0

License

See LICENSE in LICENSE

Unpacked Size

106 kB

Total Files

7

Last publish

Collaborators