Site Confidence All articles
Retail Performance Testing

Fallback Address: Drilling Postcode Lookup Failure Before the Peak

Site Confidence
Fallback Address: Drilling Postcode Lookup Failure Before the Peak

Photo: Jules Verne Times Two, CC BY-SA 4.0, via Wikimedia Commons

There is a particular kind of silence on a checkout page when the postcode field stops responding. The customer types, waits, types again, and then either phones you or leaves. The lookup service that powers that field is a third-party dependency with a rate limit, a timeout and an occasional opinion about which addresses exist. In the last week of November, none of those things should be discovered for the first time.

The dependency you notice only when it stops

The typical chain is short: typeahead, provider call, result list, selection, validation, submit. It is also fragile in ways that do not appear in a happy-path test. Common failure modes include slow responses beyond two seconds, HTTP 429 with a Retry-After header, intermittent 5xx errors under load, empty result sets for addresses that genuinely exist, and ambiguous results when a postcode covers forty flats in one building.

New-build properties, rural addresses without numbers, and premises named rather than numbered are all routine sources of empty results. Channel Islands and BFPO addresses sit outside the main address file altogether.

Designing the drill

Put a fault-injection proxy between your application and the provider, behind a feature flag, and run four states in a single afternoon:

  1. Baseline, with the provider healthy.
  2. Latency injection at three seconds, to test perceived performance and abandonment.
  3. Error injection at thirty per cent, to test retry behaviour and the transition to manual entry.
  4. Rate-limit response, to test the message the customer actually sees.

Run each state on a real handset as well as a desktop browser, in guest checkout as well as signed-in checkout, and in the click-and-collect path where the address is a store rather than a home. Record what the customer sees, not what the network tab shows.

Manual entry is a product, not a fallback

Many manual address forms are designed as afterthoughts and behave accordingly. The minimum viable version keeps the same field order as the lookup, so a customer who has already selected a house number does not lose it. Provide address line one, address line two, town, an optional county, and the postcode. Keep county; removing it breaks a long-standing expectation for a meaningful number of customers.

Retain the standard autocomplete attributes on each field so that browser and password-manager autofill still works. Treat the postcode as an editable field rather than a key that unlocks the rest of the form, and never clear what has already been typed because the lookup later recovers.

The accessibility test the fallback usually fails

A fallback that only works with a mouse is not a fallback. Check the following with a keyboard and a screen reader:

These are the same standards that apply everywhere else on the site. The reason they fail here is that the fallback is rarely in front of a designer or an accessibility tester until something breaks.

Validation rules that do not punish real addresses

A postcode format check is reasonable. A postcode existence check against the provider is not, because the provider is the thing that may be failing. Accept the special cases by design: GIR 0AA, BFPO numbers, Isle of Man and Channel Islands codes, and overseas addresses where you ship internationally.

Do not require a house number. Do not truncate address lines to thirty characters when customers live in flats with long building names. Do not reject punctuation. If your validation logic and your address file disagree, the customer is right and the file is out of date.

Trust messaging when the lookup is down

Wording carries weight here. Compare two versions of the same state:

The second version tells the customer what happened, that it is not their fault, and what to do next. It also avoids the implication that the address they typed does not exist. Keep the delivery estimate and the returns summary visible throughout, because the moment a form fails is the moment a customer starts wondering whether the rest of the promise holds.

Measuring what the drill produced

Collect step completion rate, time on the address step, field-level error rates, support contacts tagged to address entry, and abandonment by device. Compare the manual path against the lookup path on the same cohort. If manual entry completes in twenty seconds longer but converts at a similar rate, the fallback is doing its job; if the gap is wider, the form needs work, not the messaging.

Closing the loop with the provider

Bring the evidence to the next supplier review: peak request volume against the contracted rate limit, the tail latency distribution rather than the average, and the number of valid addresses that returned nothing. Agree cache behaviour for repeated lookups within a session, set a circuit-breaker threshold, and document the point at which the application stops waiting and switches to manual entry. Cache only what you need, and keep any personal data out of it.

The postcode field is a small surface with a large share of the checkout's trust budget. Prove the fallback before the queue forms behind it.

All Articles

Related Articles

The Post-Purchase Peak: Rehearsing Returns Portals Before January's Refund Tide

The Post-Purchase Peak: Rehearsing Returns Portals Before January's Refund Tide

The Pin Drop Test: Proving Store Locators When the Map Provider Fails

The Pin Drop Test: Proving Store Locators When the Map Provider Fails

A Controlled Crowd: Proving Waiting-Room Fairness Before the Peak Sale

A Controlled Crowd: Proving Waiting-Room Fairness Before the Peak Sale