Skip to main content

Address Field Validations

Validating the Checkout Page Address Fields

The address information submitted on the Checkout Page is important to ensure the order is shipped to the right destination. Validations are also performed on the field level.

Address Field Formats and Error Handling

The address form contains address fields with the following formats and error notifications.
FieldFormatError notifications
Address Line1Maximum length is 35 characters.
If the shipping method is one of the following:ExpressExpressCourierWithoutSameDayStandardA PO Box won’t be accepted as an address without a delivery address.
When unsupported characters are identified, the field is marked and a notification is displayed. Allows letters, numbers, and specific special characters.
Additional format validation may be configured per country.
When the 36th character is attempted a notification is displayed:You’ve reached the maximum limit for Address Line 1 field. Please use Address Line 2 if you need more space”image6.pngThe following notification displays:Title: PO box address is not allowed on this shipping methodContent: Dear Customer, The courier service you have selected requires a signature upon delivery. We are therefore unable to accept orders to a PO box address. To continue, please provide an alternative shipping address
Address Line 2Maximum length is 35 characters.**Additional characters are not accepted.
If the shipping method is one of the following:ExpressExpressCourierWithoutSameDayStandardA PO Box won’t be accepted as an address without a delivery address.
When Unsupported characters are identified the field is marked and notification displays. Allows letters, numbers, and specific special characters.
Additional format validation may be configured per country.
The following notification displays when a PO Box is added as an address to the shipping methods mentioned:Title: PO box address is not allowed on this shipping method Content:Dear Customer, The courier service you have selected requires a signature upon delivery. We are therefore unable to accept orders to a PO box address. To continue, please provide an alternative shipping address
City/SuburbMaximum length is 35 characters.
Offers dropdown suggestions and dynamic city-region pairing for select countries.
Allows letters and hyphens.When unsupported characters are identified, the field is marked and a notification is displayed.
Additional format validation may be configured per country.
When unsupported characters are identified, the field is marked in red and the checkout can not be completed until it is fixed.
CountryChanging the default country requires that the customer fills out a delivery address that is different from the billing address.Country-specific address formatting and restricted country lists for some merchants.
County/Province/StateA dropdown menu for some regions that includes counties, states, or provinces.For more details please see the Counties, States, and Provinces section.
EmailFor registered users, pre-filled and locked if email already provided.
The following information defines what a valid email address is, based on: https://en.wikipedia.org/wiki/Email_address
Valid email addresses must comply with the following:
Uppercase and lowercase Latin letters (A–Z,**a–z) (ASCII: 65–90, 97–122)**Digits 0 to 9 (ASCII: 48–57)
*These special characters:**# - _ ~ ! $ & ’ + | {} = “ / @**Character. (dot, period, full stop), ASCII 46, provided that it is not the first or last character, and provided that it does not appear consecutively (e.g. John..Doe@example.com is not allowed).*Special Characters for non-English languages (accents).
When an incorrect character is submitted, the field is marked in red, and an “X” is displayed on the right side.image4.pngOn mouseover, an “Email not Valid” tooltip is displayedimage5.png
First NameMaximum length is 40 Characters
Cannot contain special characters or numbers. When unsupported characters are identified, the field is marked, and a notification is displayed.
For more information about Special Characters, please see the Supported Characters section.
When unsupported characters are identified the field is marked in red and the checkout can not be completed until it is fixed.
Last NameMaximum length is 40 Characters
Cannot contain special characters or numbers. When unsupported characters are identified, the field is marked and a notification is displayed.
For more information about Special Characters, please see the Supported Characters section.
When unsupported characters are identified the field is marked in red and the checkout can not be completed until it is fixed.
PhoneFollowing characters are allowed: Numbers, “+”, “-“, “/”, “(“ and “)”
Maximum length is 15 characters
When unsupported characters are identified, the field is marked and a notification is displayed.
Drop-down menu of country prefixes can be enabled for applicable countries.
Additional format validation may be configured per country. For more details please see the Phone Field Validations per Country sectionPhone Field Validations per Country
Zip/PostcodeMaximum length is 10 Characters
When unsupported characters are identified, the field is marked and a notification is displayed.
There is a configuration per country whether this field is mandatory or not
Additional format validation may be configured per country. For more details please see the Zip/Postcode Field Validations per Country section
When no input is available, a mouseover displays a tooltip:“Billing Zip/Postcode is required”image7.pngWhen unsupported characters are identified the field is marked in red and the checkout can not be completed until it is fixed.

Phone Validation Flow in Checkout

Why We Introduced This Change

Shoppers often enter phone numbers in inconsistent ways—missing country codes, typing leading zeros, or using invalid formats. This leads to:
  • Failed deliveries or shipping delays.
  • Checkout errors that block order completion.
To solve this, we’ve launched a new phone validation flow (for merchants who use the dropdown phone field). It ensures all shopper phone numbers are collected, validated, and stored in a consistent, global format.

What’s New for Merchants

  • Structured validation: Phone numbers are automatically checked and formatted to international E.164 standards on the server side.
  • Real-time feedback: Shoppers still receive clear guidance while typing, but validation that previously failed on the client side now succeeds after being corrected on the backend.
  • Data accuracy: Stored numbers are always valid, deliverable, and standardized.
  • Configuration: You can enable validation globally or per-country.

Shopper Experience in Checkout

Before (old flow): Shopper types 09876543211 → checkout rejects the number immediately on the client side. Now (new flow):
  • Shopper types 09876543211 (UK) → shopper sees no blocking error; system auto-removes the leading zero on the server side and saves as +449876543211.
  • Shopper types invalid characters (98765abc321) → shopper receives a clear error message with guidance to fix the input.

Configuration and Enablement

This feature applies only if you use the dropdown phone field in checkout. If you’d like to enable this feature, contact your Global-e representative.
SettingBehavior
IsPhoneNumbersNewFlow = falseCurrent validation logic remains.
IsPhoneNumbersNewFlow = trueNew validation applies to all countries.
IsPhoneNumbersNewFlow = per-countryNew validation applies only in selected markets.
UseCustomPhoneNumberValidation = trueMerchant-specific rules override global validation.

Examples of Allowed Inputs

The following table shows examples of allowed inputs:
Shopper InputSelected CountrySaved OutputAccepted?
9876543211USA+19876543211Yes
02081234567UK+442081234567Yes
20812 34567UK+442081234567Yes
08034567890Japan+818034567890Yes
The following figure shows the error message that occurs when you leave a mandatory field blank or enter an invalid number.
The following figure shows how correct information looks.

Shopper Error Messages

If a shopper enters an invalid number, the following error message is displayed. “Invalid phone number format. Expected phone country: {Country Name}. Please adjust your number accordingly.”

Benefits for Merchants

  • 📦 Fewer failed shipments due to invalid numbers.
  • 💬 Clear shopper guidance reduces support tickets.
  • 📊 Clean, standardized phone data across your orders.
  • 🚀 Proven impact on conversion rates by removing friction.
New UI Experience:
  • Easy country search by name or code.
  • Restricts input to digits only for cleaner validation.

Zip/Postcode Field Validations per Country

In addition to the general field validations, a zip field format validation is configured for specific countries. Specific validations can be set per Merchant.
CountryFieldValidationAdditional Info
AlbaniaPost Code4 digits
AlgeriaPost Code5 digits
AndorraPost Code2 Capital letters and 3 digits (AB123)
AngolaPost CodeField Optional
Antigua and BarbudaPost CodeField Optional
ArgentinaPost Code4 digits
ArmeniaPost Code4 digits
ArubaPost CodeField Optional
AustriaPost Code4 digits
AustraliaPost Code4 digits
AzerbaijanPost Code4 digits
BahamasPost CodeField Optional
BahrainPost CodeField Disabled. Sending “00000”
BelarusPost Code6 digits
BelizePost CodeField Optional
BelgiumPost Code4 digits
BeninPost CodeField Optional
BoliviaPost CodeField Optional
Bonaire, Saint Eustatius and SabaPost CodeField Optional
BotswanaPost CodeField Optional
Bouvet IslandPost CodeField Optional
BulgariaPost Code4 digits
Burkina FasoPost CodeField Optional
BurundiPost CodeField Optional
Central African RepublicPost CodeField Optional
CambodiaPost Code6 digits
CameroonPost CodeField Optional
CanadaPost Code5 or 6 digitsIn one of the following formats: A1A 1A1 or A1A 1A
ChadPost CodeField Optional
ChilePost Code7 digits
ChinaPost Code6 digits
ColombiaPost Code6 digits
ComorosPost CodeField Optional
CongoPost CodeField Optional
Congo, Democratic RepublicPost CodeField Required
Cook IslandsPost CodeField Optional
Costa RicaPost Code5 digits
Cote D’Ivoire (Ivory Coast)Post CodeField Optional
CroatiaPost Code5 digits
CuracaoPost CodeField Optional
CyprusPostal Code4 digits
Czech RepublicPost Code5 digits
DenmarkPost Code4 digits
DjiboutiPost CodeField Optional
DominicaPost CodeField Optional
East TimorPost CodeField Optional
EcuadorPost Code6 digits
EgyptPost Code5 digits
Equatorial GuineaPost CodeField Optional
EritreaPost CodeField Optional
EstoniaPost Code5 digits
FijiPost CodeField Optional
FinlandPost Code5 digits
FrancePost Code5 digits
French Southern TerritoriesPost CodeField Optional
GabonPost CodeField Optional
GambiaPost CodeField Optional
GermanyPost Code5 digits
GhanaPost CodeField Required
GreecePost Code5 digitsIn the format XXX XX or XXXXX
GrenadaPost CodeField Optional
GuatemalaPost Code5 digits
GuineaPost CodeField Required
GuyanaPost CodeField Optional
Hong KongPost CodeField Disabled
HungaryPost Code4 digits
IcelandPost Code3 digits
IndiaPost Code6 digits
IndonesiaPost Code5, 6 digits
IrelandPost Code7 digits or 7 characters (Eircode)
IsraelPost Code7 digits
ItalyPost Code5 digits
JamaicaPost CodeField Optional
JapanPost Code7 digits (XXXXXXX or (XXX-XXXX)
KazakhstanPost Code6 digits
KiribatiPost CodeField Optional
Korea (North)Post CodeField Optional
KuwaitPost Code5 digits
LiberiaPost CodeField Optional
LibyaPost CodeField Optional
LuxembourgPost Code4 digits
MacauPost CodeField Disabled. Sending “999087”
MalawiPost CodeField Optional
MalaysiaPost Code5 digitsField Optional
MaliPost CodeField Optional
MauritaniaPost CodeField Optional
MauritiusPost CodeField Required
MexicoPost Code5 digits
MoldovaPost Code4 digits
MonacoPost CodeField Disabled. Sending “98000”
MongoliaPost Code5 digits
MontenegroPost Code5 digits
MontserratPost CodeField Required
MorroccoPost Code5 digits
NamibiaPost CodeField Required
NauruPost CodeField Required
NigeriaPost Code6 digits
New ZealandPost Code4 digits
NetherlandsPost Code4 digits and 2 letters (1235 AB)
Netherlands AntillesPost CodeField Optional
NiuePost CodeField Required
Northern MacedoniaPost Code4 digits
NorwayPost Code4 digits
OmanPost Code3 digits
PanamaPost CodeField Required
PhilippinesPostal Code4 digits
PolandPost Code5 digits (XX-XXX)
PortugalPost Code7 digits (XXX-XXXX)
QatarPost CodeField Disabled. Sending “00000”
ReunionPost Code5 digits
RomaniaPost Code6 digits
RussiaPost Code6 digits
RwandaPost CodeField Required
Saint Kitts and NevisPost CodeField Required
Saint LuciaPost CodeField Required
Sao Tome and PrincipePost CodeField Optional
Saudi ArabiaPost CodeField Disabled. Sending “00000”
SenegalPost Code5 digits
SerbiaPost Code5 digits
SeychellesPost CodeField Optional
Sierra LeonePost CodeField Optional
SingaporePost Code6 digits
Sint MaartenPost CodeField Optional
SloveniaPost Code4 digits
Solomon IslandsPost CodeField Optional
SomaliaPost CodeField Optional
South AfricaPost Code4 digits
South KoreaPost Code5 digits no dash
South CudanPost CodeField Optional
SpainPost Code5 digits
Sri LankaPost Code4 digits
SurinamePost CodeField Optional
SyriaPost CodeField Optional
SwedenPost Code5 digits
TanzaniaPost CodeField Required
ThailandPost Code5 digit
TogoPost CodeField Optional
TokelauPost CodeField Optional
TongaPost CodeField Optional
Trinidad and TobagoPost CodeField Optional
TunisiaPost Code4, 5 digits
TurkeyPost Code5 digits
TuvaluPost CodeField Optional
UgandaPost CodeField Required
UkrainePost Code5 digits
United Arab EmiratesPost CodeField Disabled. Sending “00000”
United KingdomPost CodeLength is 5 to 8 characters.Format begins with 1-2 uppercase letters followed by 1-2 digits, optionally a single letter, a space (optional), then ends with 1 digit and 2 uppercase letters.Supports valid formats like SW1A 1AA, W1A 0AX, etc
United StatesPost Code5 or 9 (XXXXX-XXXX) digitsIn the format XXXXX or XXXXX-XXXX
United States Minor Outlying IslandsPost CodeField Optional
UzbekistanPost Code6 digits (XXX XXX or XXXXXX)In the format XXXXXX or XXX XXX
VanuatuPost CodeField Optional
VenezuelaPost Code4 digits
YemenPost CodeField Optional
ZimbabwePost CodeField Optional