Address Validator

Optional checks

Block P.O. boxes, Packstations, US military addresses, private mailboxes, emojis, non-Latin letters and long address lines in Shopify checkout, per country.

Besides the house number, the postal code and your own pattern per country, Address Validator has six optional checks. Each is off until you turn it on. Its default value applies to every country you sell to, and any country can have its own value. To block single postal codes, see Postal codes you don't deliver to.

The checks

CheckCheckout stops when
Block P.O. boxes and PackstationsAn address line names a P.O. box, a Packstation or another parcel locker, such as Postfach, Paczkomat, InPost or Point Relais. See Parcel lockers and P.O. boxes.
Block military addressesA US address is a military one: APO, FPO or DPO as the city, AA, AE or AP as the state, or PSC, CMR or UMR followed by a number, or Unit … Box, in an address line. Addresses in other countries aren't checked.
Block private mailboxesAn address line says PMB or Private Mailbox. A # or Suite alone is never blocked.
Block emojisThe company, an address line or the city contains an emoji. Symbols such as ®, ™ and N° pass.
Latin characters onlyThe company, an address line or the city contains letters outside the Latin alphabet, such as Cyrillic, Greek, Arabic or Chinese. Accents such as ä, é, ł, ő and ñ pass.
Limit address line lengthAddress line 1 or 2 is longer than your limit. The limit is 35 characters by default, and you can set it between 20 and 100.

The buyer's name is never checked. Latin characters only helps when your carrier's labels can't print other scripts. Limit address line length helps when your carrier cuts long lines: UPS and FedEx labels take 35 characters per address line.

Turning a check on

The checks are rows under Default values on the Address checks page, below Block incomplete addresses. They appear once your plan is active.

  1. 1

    Open the check

    On the Overview, select Address checks, then select the check under Default values, such as Block P.O. boxes and Packstations.

  2. 2

    Turn it on

    Select the checkbox, such as Block checkout for P.O. boxes, Packstations and parcel lockers, then Done. For Limit address line length, also enter the Maximum characters per line.

  3. 3

    Save

    Select Save in the bar at the top. The check's row shows On, and checkout uses it right away in every country without its own value.

To turn a check off, clear its checkbox the same way and save. When a row shows Different in 2 countries, those countries have their own value, see below.

Different values per country

Each of the six checks can have its own value in a country. For example, turn on Latin characters only for every country, but turn it off for Greece and Bulgaria, where buyers write their address in Greek or Cyrillic letters and your local carrier prints them. Or keep Limit address line length at 35 characters and give one country, whose carrier prints longer lines, a limit of 50. A check that's off by default can also run in one country only, such as Block emojis just for Germany.

  1. 1

    Open the country

    On the Overview, select Address checks, then select the country in Country rules. The country's page opens, with its checks under Address checks for the country, such as Address checks for Greece.

  2. 2

    Choose its value

    Select the check, such as Latin characters only, choose On or Off, then Done. The first choice, such as Use the default (On), follows the default value instead. For Limit address line length, choose On to enter the country's own Maximum characters per line, between 20 and 100.

  3. 3

    Save

    Select Save in the bar at the top. Checkout uses the country's value right away.

On the country's page, each check shows where its value comes from:

Row showsMeaning
Default valueThe country uses the value under Default values, and follows it when you change it.
Set for this countryThe country has its own value. Open the check, choose Use the default, select Done, then Save.
Up to 50 charactersThe line limit that applies in this country, shown while Limit address line length is on there.

Block military addresses appears only on the United States page, because only US addresses are checked for it. In Country rules, a country with its own values shows Custom and how many checks differ from the defaults, such as 2 checks differ. A value equal to the default counts as the country's own, but not as a difference. To drop all of a country's own values at once, including its postal-code and house-number rule, select Use the default at the top of its page, then Save.

What buyers see

Checkout stops and the buyer sees a message at the field that failed, in the checkout's language: at address line 1 for P.O. boxes, Packstations and private mailboxes, at the field with the character for emojis and non-Latin letters, and at the long line for the line length. A military address shows the message at address line 1, the city or the state. Each field shows one message at a time, so a buyer never sees two messages on one field.

Each check has built-in text in 33 languages, and you can write your own. See Buyer messages.

Things to know

TopicHow it works
Block incomplete addressesThe optional checks don't depend on it. With it off, the house number and postal code aren't checked, and the checks you turned on keep running.
PausingCheck addresses at checkout on the Overview pauses every check at once and keeps all your values. See Pause and uninstall.
Express checkoutsShop Pay, PayPal, Apple Pay and Google Pay are checked too, on the fields the wallet has shared, and again when the buyer pays.
PickupWhen the buyer chooses a pickup point or local pickup in checkout, the address comes from Shopify and the buyer can't change it. The optional checks and your blocked postal codes are skipped then, while the house number and postal code are checked as usual.
TestingTest an address runs the checks you saved, with the values for the country you choose, and names each field that fails. It has no state field, so a military address is found there by its city or address lines.

On this page