Google Address Autocomplete
Google Autocomplete makes it fast and simple for customers to complete their orders at checkout. Instead of having to fill out each address field at checkout, Google will use your customers' street address to auto-populate the empty fields.
Before you start
- Recharge Checkout on Shopify
- Recharge Checkout on BigCommerce
- Google Address Autocomplete is supported by Recharge for Shopify merchants. The app is considered in Early Adopter status for BigCommerce and provided as-is.
- If you use a custom checkout domain and Google Address Autocomplete for your store, you need to add the custom checkout domain as an authorized domain in your Google Dashboard for autocomplete to function correctly.
Step 1 - Create a project in Google API Console
- Log into the Google API Console.
- Click Select a project and choose either your existing project or click on New project. If creating a new project, enter the name of your project and agree to the terms. When finished, click Create.
- Once the project is selected, look for Google Places API Web Service and Google Maps Javascript API on your dashboard.
- If the APIs are present, proceed to Step 3.
- If the APIs are not listed, you'll need to enable the APIs in the following step.
Step 2 - Enable APIs
- Search the API Library for the Places API and click Enable.
- Search for Google Maps JavaScript API and click Enable.
Step 3 - Access credentials
- Select Credentials in the menu.
- Click Create Credentials and select API key.
- Select the API Key Name you just created.
- Locate the Key Restriction section.
- If None is selected move to Step 4.
- If HTTP referrers (websites) is selected, enter checkout.rechargeapps.com in the Accept requests from HTTP referrers (websites) field and click Save.
Step 4 - Enter your API key
- Copy the API key from the Credentials page.
- Click Apps in the merchant portal.
- Click Get under Google Address Autocomplete.
- Paste the API key into the Google Address API Key field
- Click Save.
Step 5 - Enable billing on the Google Cloud project
As per Google, If you have a project that is not linked to an active, valid Cloud Billing account, you will not be able to use the products and services enabled in your project. Refer to Google's article on Enabling, disabling, or changing billing for a project.
Support
Recharge Support can assist with the integration on the Recharge side, however, questions about the settings on the Google side of the setup should be directed to Google Maps Support.