> ## Documentation Index
> Fetch the complete documentation index at: https://docs.loqate.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Shopify Integration in Practice

> What the Loqate Shopify app does, which services run on your Shopify plan, how subscriptions and usage caps work, and how it looks in practice.

The Loqate app adds address and email checking to your Shopify store. This page explains what the app
does, where your customers see it, what runs on your Shopify plan, and how subscriptions work, so you
know what you are buying before you install it. It finishes with a video and screenshots of the app in use.

When you are ready to set it up, go straight to the task for your situation:

> [card] [Set up Loqate as a new customer](https://docs.loqate.com/integrations/shopify-plus-setup-guide.md#set-up-loqate-as-a-new-customer)
>
> Coming from the Shopify App Store? Install the app, choose a plan through Shopify billing, and go live.

> [card] [Connect an existing Loqate account](https://docs.loqate.com/integrations/shopify-plus-setup-guide.md#connect-an-existing-loqate-account)
>
> Already a Loqate customer? Use an API key from your Loqate account.

## What the app does

The app installs from the Shopify App Store and runs inside your Shopify admin. It is built on Shopify's
Checkout Extensibility framework, and adds three Loqate services to your store:

* **Address Capture** suggests full addresses as a customer types, so they pick an address instead of
  typing one.
* **Address Verify** checks an address a customer typed themselves and offers a correction.
* **Email Validation** checks an email address as the customer enters it, so you can reach them about
  their order.

Address Capture is on as soon as your store is set up. Address Verify and Email Validation are
optional, and you switch them on in the app's settings. The services are designed to work together,
but each one can be used on its own.

> [!NOTE]
>
> The new Loqate app experience is being released to stores in stages. Until your store is included,
> the app shows the previous settings screen. The welcome screen shows a **Rolling out gradually**
> label while this is happening.

### Where your customers see Loqate

| Where | Service | What the customer sees |
| - | - | - |
| Checkout, delivery address | Address Capture | Address suggestions while they type |
| Checkout, email field | Email Validation | A message if the email address cannot be validated |
| Checkout, delivery address | Address Verify, checkout option | A suggested correction before the order is placed |
| Order confirmation page | Address Verify, post checkout option | A prompt to correct the delivery address after the order is placed |
| Customer account, order details | Address correction | A prompt to correct the address on an order already placed |

### What you need

* A Shopify store. The app installs on any Shopify plan, but your plan decides which Loqate services
  you can use — see [what works on your Shopify plan](#what-works-on-your-shopify-plan).
* If you found Loqate in the Shopify App Store, a Loqate subscription bought through Shopify's billing.
  You choose one during setup, and the app creates your Loqate account for you.
* If you are an existing Loqate customer, your Loqate account (created the standard way at
  [account.loqate.com](https://account.loqate.com/)) and an API key from that account.
* A checkout that is not password protected, if you want to use the order confirmation page.

## What works on your Shopify plan

You can install the Loqate app on any Shopify plan. What changes between plans is *where* Loqate is
allowed to appear, because Shopify reserves parts of its checkout for stores on a Shopify Plus plan.

| Loqate feature | Where the customer sees it | Basic, Grow, Advanced | Plus |
| - | - | - | - |
| Address Capture, suggestions as the customer types | Checkout, address fields | No | Yes |
| Email Validation | Checkout, email field | No | Yes |
| Address Verify, checkout option | Checkout, address fields | No | Yes |
| Custom Loqate address capture input | Checkout, address fields | No | Yes |
| Address Verify, post checkout option | Order confirmation page | Yes | Yes |
| Address capture after the order is placed | Order confirmation page | Yes | Yes |
| Address correction from a customer account | Customer account, order details | Yes | Yes |
| The Loqate app, its settings and your subscription | Shopify admin | Yes | Yes |

Shopify Starter sits outside this list of plans. A Starter store can install the app, but none of
the checkout or order confirmation page features run on it.

### Why your Shopify plan decides this

Shopify controls where an app is allowed to appear during a checkout, and reserves the checkout
steps themselves — the address fields and the email field — for stores on a Shopify Plus plan.
Anything that appears after the customer has paid is open to Basic, Grow, Advanced and Plus.

Loqate does not gate any of this, and no Loqate plan unlocks it. Every Loqate subscription includes
all three services. Your **Loqate** plan sets your monthly usage cap; your **Shopify** plan sets
where those services can appear.

### If your store is not on Shopify Plus

Be clear about what you lose: Address Capture does not suggest addresses in your checkout, and
Email Validation does not check email addresses there. Your customers type their address the way
they do today.

What you keep is the way Loqate recommends running Address Verify anyway:

* **Address Verify, post checkout option.** Loqate checks the delivery address once the order
  exists and offers the customer a correction on the order confirmation page. It uses fewer
  transactions than verifying during the checkout, because it runs only on orders you took.
* **Address capture after the order is placed.** If the address could not be verified, the customer
  picks the right one from a list of suggestions on the order confirmation page.
* **Address correction from a customer account.** A customer who has left the confirmation page can
  still correct the address from that order in their Shopify customer account.

Each of these writes the corrected address back to the order itself, so the order ships to a
checked address.

## Loqate services in your checkout

Every subscription includes all three services. Your Loqate plan sets your monthly usage cap, not
which services you get. Your **Shopify** plan is a separate thing, and it decides where each service
is allowed to appear — [what works on your Shopify plan](#what-works-on-your-shopify-plan) covers
that.

### Address Capture

Address Capture is **enabled by default** once your store is set up. As a customer types in the
address field, Loqate suggests matching addresses. The customer selects one and the address fields
fill in.

![A list of matching addresses offered while a customer types a postcode into the checkout address field](https://mintcdn.com/loqate/wa5smTsue6eCAxOJ/images/integrations/shopify-plus/shopify-suggestion.png?fit=max\&auto=format\&n=wa5smTsue6eCAxOJ\&q=85\&s=8ce4f9b9c6c7b7dc39ce9bf97a8039c5)

Address Capture works in both the delivery address and billing address sections of the checkout.

### Address Verify

Address Verify is **optional**. When a customer types an address themselves instead of choosing a
suggestion, Address Verify checks it against Loqate's reference data using a process of correction,
standardisation, formatting, enhancement and verification, and offers a correction. The customer can
accept the correction or keep their original entry. Address Verify changes the delivery address only;
it doesn't affect the billing address.

![A checkout showing a suggested corrected address for the customer to accept](https://mintcdn.com/loqate/wa5smTsue6eCAxOJ/images/integrations/shopify-plus/shopify-correct-address.png?fit=max\&auto=format\&n=wa5smTsue6eCAxOJ\&q=85\&s=abfe3ec59b8d1d6a686918be3fc5fc3f)

In the Loqate settings, Address Verify has three options and you can choose one:

![The Address Verify card in Loqate settings, showing three options: disable, post checkout, and checkout](https://mintcdn.com/loqate/wa5smTsue6eCAxOJ/images/integrations/shopify-plus/shopify-address-verify-options.png?fit=max\&auto=format\&n=wa5smTsue6eCAxOJ\&q=85\&s=ba482275d799f7865356b470b65845f7)

| Option | What it does |
| - | - |
| **Disable address verification** | Turns Address Verify off in the checkout and on the order confirmation page. |
| **Enable address verification for post checkout (recommended)** | Checks the address after the order is placed, on the order confirmation page. |
| **Enable address verification for checkout (use with caution)** | Checks the address during the checkout, before the order is placed. |

> [!WARNING]
>
> Verifying during the checkout uses a Verify transaction for every address that reaches the
> verification step, including checkouts the customer later abandons. It also cannot run for express
> payments such as Apple Pay, Google Pay, Shop Pay and PayPal, because those skip the standard
> address form. It also runs only on a Shopify Plus store, because Shopify reserves the checkout
> steps for that plan. The post checkout option verifies the address only once an order exists, so
> usage is lower, easier to predict, and it works on Basic, Grow, Advanced and Plus stores.

> [!NOTE]
>
> Address Verify is not available with a Loqate SaaS platform key. If your store is connected with
> one, both enabled options are greyed out and the settings screen says so.

### Email Validation

Email Validation is **optional**. It checks the email address a customer enters during the checkout
and tells them when it cannot be validated, so an order confirmation is less likely to bounce.
Customers who enter a valid email address see no change to their checkout.

You turn it on with the **Email Validation** switch in the Loqate settings.

![Email validation error message](https://mintcdn.com/loqate/wa5smTsue6eCAxOJ/images/integrations/shopify-plus/shopify-email-validation-error.png?fit=max\&auto=format\&n=wa5smTsue6eCAxOJ\&q=85\&s=f3cd069e1dce1b3a9be49eb2a69592b7)

Learn more about the [Email Validation Service](https://docs.loqate.com/api-reference/email-validation/individual.md).

## Subscriptions and usage caps

Merchants who come to Loqate through the Shopify App Store buy it through Shopify's billing, as a
monthly subscription with a usage cap. This section explains what you are charged for and what happens
each month. Existing Loqate customers connect an API key from their Loqate account instead, and their
billing stays with Loqate.

### Your plan is your monthly usage cap

Each plan's price is also its cap. A £100 plan gives you £100 of address lookups, verifications and
validations to use in that month. Every plan includes the same three Loqate services, so the only
thing that changes between plans is the cap.

![The Choose your subscription screen, showing plan cards with a monthly usage cap, a credit pack size and the three included services](https://mintcdn.com/loqate/wa5smTsue6eCAxOJ/images/integrations/shopify-plus/shopify-credit-pack.png?fit=max\&auto=format\&n=wa5smTsue6eCAxOJ\&q=85\&s=2973663b1a9146e6762aac1e1473e552)

One plan carries a **Recommended** label. The plans your store is offered, and the prices shown, come
from Loqate and can change, so treat the plans in this screenshot as an example. If none of them is
large enough, you can [ask for a higher usage cap](https://docs.loqate.com/integrations/shopify-plus-setup-guide.md#ask-for-a-higher-usage-cap).

### Credit packs

Your cap is issued to you in small amounts called credit packs, rather than as one large balance.
Each plan card shows the pack size for that plan.

* Packs are used up automatically as your store uses Loqate services.
* New packs are created for you during the billing period, up to your cap.
* You do not create, assign or top up packs yourself.

Because packs are created as you need them, you pay for what you use rather than for the whole cap
up front.

### Approving and activating

You choose a plan in the Loqate app, then approve the charge on Shopify's own billing screen. Shopify
sends you back to Loqate, and the app sets up your Loqate account. Activation takes a few minutes,
and the app shows the status changing from **Activating** to **Activated**.

You are not charged if the setup fails before Shopify takes over.

### Renewal and cap changes

Your subscription renews automatically each month, on the same date as your first payment. Your cap
resets at the start of each cycle. Keep your Shopify payment details up to date: if a charge fails,
Shopify pauses collection until a payment succeeds.

You can move to a different plan at any time.

| Change | When it takes effect |
| - | - |
| A higher cap | Immediately, so the extra allowance is available straight away |
| A lower cap | At the start of your next billing cycle if the new cap is lower than your current consumption; otherwise immediately |

Lowering your cap does not affect usage you have already had this cycle.

***

## Shopify Integration In use

See the Loqate Shopify app in use after it has been installed and configured.

### Video overview

Here's what this looks like, using an example checkout page:

[YouTube video player](https://www.youtube.com/embed/jKsEiiuqxac?si=1-X2VmPmFFXhPUJH)

### Example screenshots

We've also put together some screenshots of how it looks on an example checkout page, to give you a sense of what to expect.

> [tab] Address Capture in use
>
> Here's what it looks like during an address lookup and after an address has been selected in the Delivery address section:
>
> ![Address Capture Checkout](https://mintcdn.com/loqate/sKY9PIVDXiacbW-t/images/integrations/shopify-plus/shopify-address-capture-checkout.png?fit=max\&auto=format\&n=sKY9PIVDXiacbW-t\&q=85\&s=a0d94602adaee90ec685c3a414e2475c)
>
> And here's what it looks like during an address lookup and after an address has been selected in the Billing address section:
>
> ![Address Capture Billing](https://mintcdn.com/loqate/sKY9PIVDXiacbW-t/images/integrations/shopify-plus/shopify-address-capture-billing.png?fit=max\&auto=format\&n=sKY9PIVDXiacbW-t\&q=85\&s=110cb6a7580decd5ae75bbed24d62fe9)
>
> Note: the countries listed in the **Country/Region** dropdown list are tied directly to what you've set in the 'Shipping and delivery'
> section of your Shopify store settings. Therefore, if you only ship to certain countries, only those countries will appear in the dropdown.
> If a customer enters an address outside of those countries, Address Capture will not be able to return suggestions in the country they're
> looking for and Address Verify will not recognise the inputted address (see the Address Verify section below).
>
> ![Country Dropdown](https://mintcdn.com/loqate/sKY9PIVDXiacbW-t/images/integrations/shopify-plus/shopify-country-dropdown-1.png?fit=max\&auto=format\&n=sKY9PIVDXiacbW-t\&q=85\&s=8dbddde91d57394ea428bfa717f0e737)
>
> **NOTE:** We now recommend using the new Custom Capture Search Input for an improved search experience when finding sub-buildings.
>
> ![Custom Capture Search 1](https://mintcdn.com/loqate/sKY9PIVDXiacbW-t/images/integrations/shopify-plus/shopify-containers-1.PNG?fit=max\&auto=format\&n=sKY9PIVDXiacbW-t\&q=85\&s=72e46985eb189e77627d41485d85aecb)
>
> ![Custom Capture Search 2](https://mintcdn.com/loqate/sKY9PIVDXiacbW-t/images/integrations/shopify-plus/shopify-containers-2.PNG?fit=max\&auto=format\&n=sKY9PIVDXiacbW-t\&q=85\&s=9cf22dcf744509e4824677395263d20b)

> [tab] Address Verify in use
>
> If you have enabled Address Verify, this functionality will trigger on the Thank You page after a customer has confirmed an order.
>
> Immediately after the Thank You page loads, a message will appear saying "Please wait while we verify your address..."
>
> This message will adjust depending on the results that Address Verify can return, with three main possibilities
>
> * No changes required
> * Alternative address found
> * Address not validated
>
> ### No changes required
>
> If the customer's address is successfully verified with no changes required, the Address Verify message will change to
> "Your shipping address has been verified!"
>
> ### Alternative address found
>
> If, however, Address Verify finds an alternative address to suggest, the message will instead change to say
> "We've found an alternate address", and give the customer the option of either applying or declining the proposed changes
>
> If the customer clicks **Apply changes**, the message will change to say "Your shipping address has been updated"
>
> **NOTE:** customers will not see the updated address reflected on the Thank You page, however if you check the Orders section
> of your Shopify admin and find the transaction in question, you'll see that the shipping address has been updated.
>
> For example, here you can see that the billing address remains as it was originally inputted, but the shipping address has been
> corrected by Address Verify
>
> ![Verify Thankyou](https://mintcdn.com/loqate/sKY9PIVDXiacbW-t/images/integrations/shopify-plus/shopify-verify-thankyou-4-june-25.png?fit=max\&auto=format\&n=sKY9PIVDXiacbW-t\&q=85\&s=a88b47c0f445eff78c6ba3bdc143485b)
>
> You can also see evidence of the update in the order's timeline
>
> Not all customers will choose to use the alternative addresses offered by Address Verify, however.
> If a customer chooses to ignore the suggestion, they will instead see a message which says "Your shipping address was not updated"
>
> ### Address not validated
>
> Lastly, if an address is sufficiently low quality that Address Verify can't validate it,
> the customer will instead see a message reading "Your shipping address could not be validated, your order will still be processed."

> [tab] Email Validation in use
>
> If you have enabled Email Validation, this functionality will trigger when a customer enters an invalid email address.
> Here's what that will look like:
>
> ![Email Validation Usage](https://mintcdn.com/loqate/sKY9PIVDXiacbW-t/images/integrations/shopify-plus/shopify-email-validation-usage-august-2024.png?fit=max\&auto=format\&n=sKY9PIVDXiacbW-t\&q=85\&s=d86006c416bbf9892b8ab0dba4c2cadb)
>
> When a customer enters a valid email address, this notification will disappear and they will be able to proceed through the checkout.

***

## Next step

The [Shopify Setup Guide](https://docs.loqate.com/integrations/shopify-plus-setup-guide.md) covers installing the app, connecting an existing
account, adding each service to your checkout, changing your settings, changing your cap, and cancelling or restarting a
subscription.
