AutoPostcode
WooCommerce plugin

WooCommerce address validation — install, key, done

Add Royal Mail PAF-backed postcode lookup and address autocomplete to your WooCommerce checkout with a no-code plugin. No theme edits, no developer time, just cleaner orders.

No card required · Royal Mail PAF-verified data

Trusted UK address intelligence

0
Lines of code
5 min
Typical setup
31M+
PAF addresses
PAF-verified address lookup
Fast REST API & no-code plugins
GDPR-friendly, UK-hosted

WooCommerce address validation adds Royal Mail PAF-backed postcode lookup and address autocomplete to your WooCommerce checkout using the AutoPostcode plugin — no code required. Install it, paste your API key, and shoppers select real, deliverable UK addresses from a single postcode field, cutting typos, failed deliveries and support tickets.

How do I add address validation to WooCommerce?

Install the plugin and enable it — that's it. The AutoPostcode plugin wires into the standard WooCommerce checkout fields and validates against the same PAF dataset couriers use. For a deeper dive on lookup specifically, see WooCommerce postcode lookup.

  • Upload and activate the AutoPostcode plugin
  • Paste your API key into the plugin settings
  • Enable lookup on billing and shipping fields
  • Test a live checkout and go — no theme edits
No-code
Plugin install
PAF
Royal Mail source
Free
Trial, no card

Is the plugin really no-code?

Yes — the plugin handles everything for standard checkouts. If you run a headless or heavily customised WooCommerce build, you can call the REST API directly and keep the same PAF-verified result:

// Headless / custom WooCommerce: verify on the checkout endpoint
add_action('woocommerce_after_checkout_validation', function ($data, $errors) {
  $res = wp_remote_post('https://api.autopostcode.com/v1/verify', [
    'headers' => ['Authorization' => 'Bearer ' . AUTOPOSTCODE_KEY],
    'body'    => wp_json_encode(['postcode' => $data['billing_postcode']]),
  ]);
  $body = json_decode(wp_remote_retrieve_body($res), true);
  if (empty($body['deliverable'])) {
    $errors->add('validation', 'Please select a valid UK address.');
  }
}, 10, 2);
Comparing options for WooCommerce? Read the best postcode lookup API for WooCommerce for a full breakdown.

Plugin vs manual entry on WooCommerce

AutoPostcode pluginDefault WooCommerce
Address entryPostcode lookup + autocompleteManual free-text
Data sourceRoyal Mail PAFWhatever is typed
SetupNo-code, ~5 minNone
Failed deliveriesMinimisedCommon
CostPer-lookup, no minimumHidden in failures

UK-first and affordable

AutoPostcode is a UK-first, PAF-backed, developer-friendly alternative to Loqate, Fetchify and Ideal Postcodes. See transparent per-lookup pricing with no minimum spend.

Frequently asked questions

How do I add address validation to WooCommerce?

Install the AutoPostcode WooCommerce plugin, paste your API key, and enable it on the checkout. It adds a Royal Mail PAF-backed postcode lookup and address autocomplete to the WooCommerce billing and shipping fields with no code.

Is the WooCommerce plugin no-code?

Yes. The AutoPostcode plugin is fully no-code: install from the plugin upload screen, enter your key in settings, and address validation appears at checkout. No theme edits or developer time required.

Does it work with custom WooCommerce checkouts?

In most cases yes. The plugin hooks into standard WooCommerce checkout fields. For heavily customised or headless checkouts you can call the REST API directly to keep the same PAF-verified lookup.

What address data does it use?

It uses Royal Mail's Postcode Address File (PAF) — roughly 31 million UK delivery-point addresses across around 1.8 million postcodes — so WooCommerce shoppers select real, deliverable addresses.

Will it slow down my WooCommerce checkout?

No. Lookups are lightweight REST calls returning JSON in milliseconds, and results are fetched only when a shopper searches a postcode, so there's no measurable impact on page load.

How much does WooCommerce address validation cost?

The plugin is free to install; you pay only for the lookups you use with transparent per-lookup pricing — no minimum spend and no expiring credits. A free trial lets you test it on your store first.

Ready to get started?

Add Royal Mail PAF-verified UK address lookup to your site in minutes — start free, no card required.