Help for owners
The address autocomplete on my checkout form stopped suggesting addresses
Short answer
When Google Places autocomplete is not working, the browser console usually names the reason. Common ones are billing turned off, a website address missing from the key's allowed list, a key not authorized for the service, or a project that cannot use the old Places API, which Google moved to Legacy on March 1, 2025.
Does this sound like your situation?
- Typing an address on my checkout no longer shows suggestions.
- The address box works on the live site but not on the new staging copy.
- Customers fill the address by hand and delivery mistakes went up.
- Staff tried other browsers and the field fails in all of them.
- My developer moved the site to a new Google Cloud project and the address field broke.
Why does this happen?
The old Places API is now Legacy
Google's legacy products page lists the Places API as Legacy from March 1, 2025, with Places API (New) as its replacement. Projects that already used it can continue, and Google advises keeping legacy APIs switched off on new projects.
Confirmed by developers.google.com
A new project or key cannot reach the legacy API
Google raises LegacyApiNotActivatedMapError when an app calls a legacy API, such as the Places API, that is not enabled on its project. That is typical after someone creates a fresh Cloud project or key for a redesign.
Confirmed by developers.google.com
Billing is off on the Cloud project
Google's error list includes BillingNotEnabledMapError for a project with billing not enabled. If the card behind the project lapses or its billing account is shut, every page with the field fails the same way.
Confirmed by developers.google.com
The key does not allow your website or the service
RefererNotAllowedMapError means the address loading the script is missing from the key's list of allowed websites, which happens after a domain change. ApiTargetBlockedMapError means the key is not authorized for the service being called.
Confirmed by developers.google.com
What can I do about it today?
- Read the error in the browser consoleGoogle says the Maps JavaScript API writes its errors to the console. In Chrome, open More tools, then Developer tools, reload the checkout page and copy any line that ends in MapError.
- Check the billing account in Google CloudAs the project owner, open Billing in the Google Cloud console and confirm the linked account is active and its payment method still works.
- Note any recent website changesA new domain, a move to www, a staging copy or a new Cloud project are the usual triggers. Tell your developer what changed and when.
- Keep the form usable without suggestionsMake sure customers can still type a full address by hand while the fix is in progress, so no order is lost.
- If someone else built the plugin, report itGoogle's advice for people who do not own the code is to report LegacyApiNotActivatedMapError to the app provider and ask them to upgrade. Send the plugin vendor the exact error.
When should I bring someone in?
- The autocomplete is custom code on your checkout and the console shows a legacy API error.
- You do not know which Google account owns the Cloud project or the key.
- Orders are shipping to wrong addresses because customers stopped using suggestions.
How do I handle it?
- Match the error to its causeI reproduce the failure, read the console error, and check the project's enabled APIs, billing status and key restrictions.
- Move to Places API (New)Where the code still calls the legacy Places service, I rewrite the autocomplete against Places API (New), which Google names as the replacement.
- Lock the key down correctlyThe key is limited to your real domains and only the APIs the site uses, so it works everywhere it should and nowhere else.
- Test the whole checkoutI place test orders with suggested and hand-typed addresses on desktop and phone, and confirm the saved address is complete.
The price depends on what I find, so I quote in writing after a short discovery call. Tell me what is happening and I reply within 24 hours.
What do owners ask about this?
Is Google shutting down Places Autocomplete?
Google's legacy page says there is no date yet for turning off the legacy Places API, and promises at least 12 months' notice before any legacy service is decommissioned.
What does LegacyApiNotActivatedMapError mean?
Your app is calling a legacy Maps API, such as the old Places API, that is not enabled on your project. Google's advice for app owners is to switch to the new equivalent API.
Why does address autocomplete work on one site but not another?
Each site may load a different key or project. A key restricted to one domain answers RefererNotAllowedMapError on any other address.
Can I turn the legacy Places API back on?
Google mentions a short-term option to activate a legacy API after completing a feedback form, aimed at people who do not own the app. For code you own, Google points to the new API.
Sources
For your developer: the technical fixes
Related help
- The Google Pay button is missing from my website checkoutA direct integration also needs production access approved in the Google Pay and Wallet Console and the PRODUCTION setting in its code.
- One Dashboard for My Business NumbersA dashboard is only as good as the numbers behind it.
- Google Play Data Safety Form Rejected or FlaggedThe Data safety form must describe everything the app collects or shares, including data sent by third-party libraries and SDKs.
- My emails to Outlook and Hotmail addresses keep bouncingMicrosoft applies this to senders of 5,000 or more messages to its consumer mailboxes from one domain: SPF and DKIM must both pass, a DMARC record must exist, and at least one of them must line up with the From address domain.