nuxwp.com
WordPress plugin · Free · Open source

Google address autocomplete for your WooCommerce checkout

Customers type a few letters, pick their address, and the street, city, postcode, state and country are filled in for them. Fewer typing errors, fewer failed deliveries, a faster checkout.

Download for freeAlso on WordPress.org$0 · GPL · PHP 7.4+ · WordPress 5.6+
At a glance
CompatibilityWooCommerce 6 → 11.3 · HPOS
CheckoutClassic and block
Google APIPlaces API (New), Legacy fallback
LicenceGPL
Why stores like it

Less typing, cleaner addresses

0
Google calls before a click
3
Characters to get suggestions
5
Fields filled for you
2
Checkouts: classic and block
0
jQuery
1
Click to test your key
How it works

Set up in three steps

No code. Everything happens in your WordPress admin.

01
Get a Google API key
In Google Cloud, enable the Maps JavaScript API and Places API (New), and link an active billing account to the project.
02
Paste it and test it
Open the Google Places menu, paste your key and click Test API key. It checks Places API (New) and Legacy and tells you which one works.
03
Your customers pick, fields fill
Address line 1, city, postcode, state and country are filled at once, and WooCommerce recalculates shipping.

Everything an address field needs

Your checkout

Works where your customers type

  • WooCommerce classic checkout: billing and shipping
  • WooCommerce block checkout, the default of recent versions
  • My Account addresses
  • Any other form (Contact Form 7, Gravity Forms, Elementor) by ID or CSS class
  • Fields added later by React, Vue or Ajax modals are detected automatically
  • Street written in each country's format; country matched by ISO code
Your site

Fast, compliant and private

  • Google Maps loads only when a visitor first clicks an address field
  • On WooCommerce stores, the script only loads on checkout and My Account
  • Deferred script, inline styles, no jQuery
  • Reuses Google Maps if your theme already loads it: no double loading
  • Nothing is sent to Google before a visitor uses an address field
  • Keyboard and screen reader friendly list, with the attribution Google requires
Settings

Everything on one screen

  • API key with a one-click test of Places API (New) and Legacy
  • API mode: Automatic (recommended), New only or Legacy only
  • Country scope: worldwide or up to 5 countries
  • Suggestion type: addresses, areas, cities, regions or businesses
  • Custom fields by ID or CSS class
  • Suggestions follow your site language and region
What you need

A Google key, set up right

  • A Google Cloud project with an active billing account
  • Maps JavaScript API and Places API (New) enabled
  • The key restricted to your website (HTTP referrers)
  • WordPress 5.6+ and PHP 7.4+
  • WooCommerce 6.0+ (optional: custom forms work without it)

Questions

Is it really free?

Yes. Autocomplete Google Places is free and open source (GPL), with no locked features. Google bills its own API usage on your Google Cloud account.

How do I keep Google costs low?

The plugin already does: suggestions start after 3 characters, wait for a short pause in typing, and use Google billing sessions, so a completed address counts as one session.

The key test says "The caller does not have permission". Why?

When both APIs are refused, the Google Cloud project usually has no active billing account, or it was closed. Check Billing first, then that Places API (New) is enabled and allowed in the key restrictions.

My key worked with an older version. Do I need to change anything?

No. In Automatic mode the plugin tries Places API (New) first and falls back to the legacy Places API. Enabling Places API (New) on your key is still recommended.

My checkout is on a custom page and nothing appears.

Add your field in the "Custom fields" setting, or add add_filter( 'autocomplete_gp_load_on_page', '__return_true' ); to your theme or a code snippets plugin.

Is this plugin made by Google?

No. Autocomplete Google Places is an independent plugin by NuxWP. Google Maps is a trademark of Google LLC.

Make your checkout faster today

Free download, set up in a few minutes with your own Google key.

Autocomplete Google Places – Address autocomplete for WooCommerce | NuxWP