Address Autocomplete for WooCommerce
Address Autocomplete for WooCommerce
Description
Every extra field on your checkout is a chance for a customer to mistype, give up, or enter an address that creates problems later. Address Autocomplete for WooCommerce lets shoppers pick their address from Google Places suggestions as they type — then automatically fills in the city, postcode, and state for them.
The result: a faster checkout, fewer fat-finger typos in address fields, and less time your team spends deciphering what a customer actually meant to type.
Built for real stores. Works with both the classic WooCommerce checkout and the modern block (Gutenberg) checkout, on any WooCommerce-compatible theme.
Free vs Pro
Billing address autocomplete is free, forever — no account, no trial, no time limit. Install it and it works.
Pro unlocks shipping address autocomplete — so customers shipping to a different address get the same one-tap autofill. Pro also adds priority support, and the Agency plan adds unlimited sites and WordPress Multisite support.
See plans on the CodePros pricing page.
Why store owners use it
- Faster checkout — customers select an address instead of typing every field by hand
- Fewer address-entry typos — autofill puts the city, postcode, and state in the right fields automatically
- Smoother experience — one less point of friction between cart and confirmation
- Respects your store setup — suggestions only appear for the countries you sell to
Features
- Google Places integration — accurate address suggestions powered by the Google Places API
- Classic + block checkout — automatically detects your checkout type and loads the right implementation
- Billing address autocomplete (free) — enable autocomplete on billing fields at no cost
- Shipping address autocomplete (Pro) — unlock autocomplete on shipping fields with a Pro license
- Auto-fill — populates city, postcode, and state when an address is selected
- Country-aware — respects the country restrictions set in your WooCommerce settings, and updates suggestions when the customer changes country
- Lightweight — scripts load only on the checkout page, and only when an API key is set and at least one address type is enabled
- Simple setup — native WooCommerce settings tab; configure your API key and toggle features in minutes
How It Works
Add your Google Places API key and enable autocomplete for billing (free). As customers begin typing an address at checkout they’ll see Google Places suggestions; selecting one fills in the city, postcode, and state automatically. The plugin detects whether your store uses the classic or block checkout and loads the appropriate implementation, and only ever loads its scripts on the checkout page. To extend the same experience to shipping addresses, activate a Pro license.
Requirements
- WooCommerce 5.0 or higher, installed and active
- A Google Places API key (Google Cloud Console)
- PHP 7.4 or higher
- WordPress 6.6 or higher
External services
This plugin connects to the Google Maps/Places API to provide address autocomplete on the checkout form. When the feature is enabled and a customer types in an address field, the plugin sends the address query to Google’s servers. Google may also collect the user’s IP address and approximate location to return relevant suggestions. This service is provided by Google LLC. See the Google Maps Platform Terms of Service and the Google Privacy Policy.
This plugin also connects to the CodePros License API (https://api.store.codepros.ai) to activate, validate, and deactivate Pro license keys. License requests may include the license key, the generated license key ID, the license key instance ID returned by activation, and the site name/identifier used for activation. The free version’s billing autocomplete works without contacting the License API. No customer address data is sent to the CodePros License API.
Example usage in the plugin:
include/AutocompleteAddress.php – Loads the Google Maps JavaScript API with the Places library
include/LicenseManager.php – Validates Pro license keys against the CodePros License API
Installation
Automatic Installation
- Log in to your WordPress admin panel
- Navigate to Plugins > Add New
- Search for “Address Autocomplete for WooCommerce CodePros”
- Click “Install Now” and then “Activate”
Manual Installation
- Upload the plugin files to
/wp-content/plugins/codepros-autocomplete-address-for-woocommerce, or install through the WordPress plugins screen - Activate the plugin through the ‘Plugins’ screen in WordPress
- Go to WooCommerce > Settings > Autocomplete Address to configure
Configuration
- Obtain a Google Places API key from the Google Cloud Console
- Create or select a project
- Enable the Places API (New)
- Create an API key, and optionally restrict it to your domain
- Navigate to WooCommerce > Settings > Autocomplete Address
- Enter your Google Places API key
- Enable autocomplete for billing (free). Shipping autocomplete unlocks with a Pro license.
- Click “Save Changes”
Screenshots
Faq
Billing-address autocomplete is free forever — no trial, no account. Shipping-address autocomplete is a Pro feature: the shipping toggle is visible in settings and unlocks when you activate a Pro license. The Agency plan adds unlimited sites and WordPress Multisite support.
No. The plugin provides address autocomplete using Google Places suggestions and auto-fills the city, postcode, and state when a customer selects a suggestion. It does not validate, verify, or correct addresses after entry.
Yes. You need a valid Google Places API key, available free from the Google Cloud Console. Enable the Places API (New) for your project. This applies to both the free and Pro features.
Yes. The plugin fully supports the WooCommerce Blocks (Gutenberg) checkout as well as the classic checkout, and detects which one your store uses automatically.
Yes. It uses standard WooCommerce checkout field IDs and hooks, so it works across WooCommerce-compatible themes.
Yes — billing autocomplete is the free feature and works on its own. Shipping autocomplete is added with Pro.
Yes. Suggestions only appear for countries enabled in your WooCommerce settings, and update when the customer changes country.
No. Scripts load only on the checkout page, in the footer, and only when an API key is set and at least one address type is enabled.
Google Places uses usage-based pricing. See the Google Places API pricing page. Google provides free credits for new accounts, which may be enough for small to medium stores.
Get a license from the CodePros pricing page, then go to WooCommerce > Settings > Autocomplete Address, enter your key in the License Key field, and click “Activate”. Shipping autocomplete unlocks once the key is verified.
The free billing autocomplete can be used on any site. Pro licenses are per the plan you choose — single site, five sites, or the Agency plan for unlimited sites and WordPress Multisite. See the pricing page for details.
Yes. License keys are encrypted with authenticated AES-256-GCM before storage, seeded with your WordPress authentication keys.
Reviews
Changelog
1.2
- Changed: Moved from a 7-day trial to a freemium model — billing address autocomplete is now free forever; shipping address autocomplete is a Pro feature
- New: Shipping toggle is visible in the free version with an upgrade prompt
- New: A stale “API key rejected” flag is now cleared on every subsite inheriting the network-default key when that default is updated
- Improved: Free billing autocomplete no longer requires contacting the license API
- Improved: The “Verify” API key button now checks the correct capability depending on whether it’s used on the site settings tab or the Network Admin page
- Improved: The Google API key health check now runs weekly
1.1.4
Fixed: Address fields now display more smoothly during checkout initialization.
1.1.3
- Tested up to WordPress 7.0
1.1.2
- Improved: License activation lockout window reduced from 5 minutes to 1 minute
1.1
- Fixed: License activation, deactivation, and notice dismissal now use
manage_woocommercecapability checks for correct WooCommerce admin access - Improved: License activation now sends the site identifier to the CodePros License API
- Improved: License instance ID is stored from the activation API response and reused during deactivation, removing the secondary license-instance lookup
- Improved: Admin license notices are now displayed only on the Autocomplete Address settings tab instead of all admin pages
- Improved: License activation lockout window reduced from 1 hour to 5 minutes
1.0.0
- New: Full support for WooCommerce Blocks (Gutenberg) block-based checkout
- New: Built-in license management system with 7-day free trial
- New: Remote license validation via CodePros License API with daily background checks
- New: License status badge in the settings page (trial active/expired/licensed/invalid)
- New: Admin notices for license status (trial countdown, expiry warning, activation confirmation)
- New: AES-256-CBC encryption for secure license key storage in the database
- New: Rate limiting on license activation (5 attempts per hour) to prevent abuse
- New: Action Scheduler integration for daily license validation background task
- New: License activation/deactivation via AJAX with inline status messaging
- Improved: Script loading now gated behind license/trial status check
- Improved: Block checkout implementation uses MutationObserver for async DOM handling
- Improved: React-controlled input support in block checkout via native setter descriptors and wp.data store updates

