How to set up Address Validation & Google Address Auto Complete Plugin for WooCommerce?

This article intends to provide detailed, step-by-step instructions that’ll help you set up Address Validation & Google Address Auto Complete Plugin for WooCommerce. Refer the product page to know more about other various features of the plugin.

With this plugin, you can simplify customer checkout process by providing Google auto-complete feature for their addresses. The plugin also provides address validation feature, that will help you get rid of troubles of undelivered packages due to invalid addresses. Now, there is no need to call your customers for verifying their addresses.



With this plugin, you can achieve the following:

  • Use Google autocomplete feature: By just providing Google API key, your customers will be able to get live address information, while they are entering their addresses.
  • Edit auto-completed address fields: Some addresses might need editing, hence this feature will help your customers edit auto-completed address fields.
  • Validate address using EasyPost, UPS or USPS: By providing respective credentials, you can validate address using EasyPost, UPS or USPS.
  • Enforce address validation: This feature will not allow an order to be placed until a valid address is entered. Remember, this option will be ignored if EasyPost/UPS/USPS API server is down.
  • Confirm validated address: Once customers’ address is validated, they will be provided with an option to choose from the originally entered address or the validated address.

Installation & Activation

After purchasing the Address Validation & Google Address Auto Complete Plugin for WooCommerce, the plugin’s zip file will be available in MY ACCOUNT section.

Here’s how you can install and activate the plugin:

  1. Navigate to MY ACCOUNT -> API Downloads tab, and download the plugin.
    Note: If you have basic/free version already installed, please deactivate and delete it before installing premium version to avoid any conflict. Your plugin settings will be retained.
  2. Install the downloaded plugin zip file into your WordPress/WooCommerce site.
  3. Once installed, you can activate the plugin. You can find Activation Key and Activation Email in MY ACCOUNT -> API Keys section.
  4. Go to your plugin settings and activate it using activation key and email address.

For detailed information about installing our plugins, read How to Download, Install, Activate & Update WooCommerce Plugin?

Getting started with WooCommerce Address Validation and Google Autocomplete plugin

Once the plugin is installed and activated, you can navigate to plugin settings in two ways:

  • Dashboard > WooCommerce > Settings > Address Validation & Autocomplete (or)
  • Dashboard > Plugins > Installed Plugins > Address Validation & Google Address Auto Complete Plugin for WooCommerce > Settings.

Now that we have explored the features of the plugin, and have installed it, let’s get down to configure the plugin.


The plugin settings are divided into two major sections – Address Autocomplete and Address Validation, as shown in the screenshot below.

WooCommerce Address Validation & Autocomplete Settings

Address Validation & Autocomplete Settings

1. Configuring Google Address Autocomplete

With these settings, you can achieve Google address autocomplete for WooCommerce stores. The settings are as shown below.

WooCommerce Address Autocomplete Settings

Google Address Autocomplete Settings

  • Address Autocomplete: Tick this checkbox to enable Google address autocomplete feature.
  • Google API Key: Google API provides address autocomplete service which returns place predictions. The request specifies a textual search string and optional geographic bounds. The service can be used to provide autocomplete functionality for text-based geographic searches, by returning places such as businesses, addresses, and points of interest as the user types.
    Enter your Google API key in this field. Remember, by default, Google address autocomplete API usage is limited. Hence, to know how to increase the limit, read this article.
  • Label Name: A custom label name for the address autocomplete text-field.
  • Editable Address Fields: By default, address fields on the checkout page are disabled unless an address is selected from Address Autocomplete option. Tick this checkbox to enable those address fields, even before selecting an address from autocomplete address option.

2. Configuring Address Validation

These settings help in validating your customers’ address using EasyPost, UPS, and USPS. The settings are as shown below.

WooCommerce Address Validation settings

Address Validation settings

Address Validation:

  • EasyPost Address Validation – Select the EasyPost option to enable EasyPost address validation, further setting appears as shown in the screenshot below.
WooCommerce Address Validation | EasyPost Address Validation

EasyPost Address Validation setting

EasyPost API Key – EasyPost API for address verification can improve an overall deliverability of your packages, acting as a safeguard against errors that send packages awry. With EasyPost, you can get instant access to domestic address verification and international address verification.

Enter your EasyPost API key in this field. To get your API key, get started here. Or visit Address Verification API, to know more about EasyPost address validation.

  • UPS Address Validation – Once you have selected UPS option for address validation, following settings appear as shown in the below screenshot.
WooCommerce Address Validation | UPS Address Validation

UPS Address Validation settings

UPS Username, UPS Password & UPS License Key  Enter your UPS credentials in the respective fields. If you do not have these credentials, register with UPS. Once you have logged in to your UPS account with your credentials, request for an access/license key.

  • USPS Address Validation – The address validation setting for USPS is as shown in the screenshot below.
WooCommerce Address Validation | USPS Address Validation

USPS Address Validation setting

USPS User ID – For accessing USPS APIs, you need to register for a USPS account. After successful registration, you’ll receive User ID that you need to enter in this field.

Enforce Address Validation:

Tick this option to enforce address validation. The checkout will not be processed until a valid address is entered. This option will be ignored if EasyPost API server is down.

Debug Log:

Tick this checkbox to debug a problem. Find the request and response log at wp-content\uploads\wc-logs.

Confirm Before Validation:

Enable this setting to allow users to confirm the address before the validation process. If this setting is disabled, the users will not be shown the validated address returned from the selected shipping carrier, on the checkout page.
Instead, the address returned is directly taken into account in the back-end, to proceed with the order.

Once this checkbox is ticked, following settings:

WooCommerce Address Validation | Confirm Before Validation settings

Confirm Before Validation settings

Confirm Using: For confirming address with your customers, you can either use a pop-up window or display address inline to the checkout page.

The pop-up window option will open another option titled “Confirmation Window CSS“, that allows you to customize the pop-up window based on their website theme.

Once all settings are configured, click Save changes.


When a customer adds a product to the cart, and moves to the checkout, the address autocomplete option will be available as shown in the screenshot below.

WooCommerce Address Autocomplete | Autocomplete Checkout Field

Autocomplete Checkout Field

When the customer starts typing the address, the possible address is auto-suggested, as shown in the below screenshot.

WooCommerce Address Autocomplete | Autocomplete Address

Autocomplete Address

Next, when the correct address is selected, other address fields are filled automatically, as shown in the screenshot below.

WooCommerce Address Autocomplete | Autofill Address

Autofill Address

When the customer selects desired payment method and clicks the Place Order button, the entered address is validated and address suggestion is displayed as a message on the Checkout page(default choice).

For some addresses, in addition to the five-digit postal code, an additional four digits is added in the suggested address. This code is the area code used in some countries around the world. If you have entered the address manually or used the Google autocomplete address field, and the area code is missing, the plugin validates the address and displays the suggested address(es) with respective area code.

A sample screenshot is as shown below.

WooCommerce Address Validation | Choose Desired Address from Checkout Page

Choose Desired Address from Checkout Page

If you choose the address confirmation to be displayed using the pop-up window, it will be displayed as shown in the screenshot below.

WooCommerce Address Validation | Choose Desired Address in Pop-Up Window

Choosing desired address in Pop-Up Window

Finally, when the customer selects the desired address, the order can be placed.

In addition to this, you can see the type of address (Residential or Commercial) in the WooCommerce edit order page. You can also find the WooCommerce Order notes updated when the address is validated. This order note will be updated for validated addresses only.

Following is a sample screenshot of a WooCommerce edit order page.

WooCommerce Address Validation | Address Type & Order Note

Address Type & Order Note in Edit Order Page

Therefore, with these simple steps, you can incorporate WooCommerce address validation and Google address autocomplete feature on your WooCommerce store.


To know more about the product, checkout Address Validation & Google Address Auto Complete Plugin for WooCommerce.

For any queries, contact our support team.

Comments (8)

  • James

    Hello, we noticed the UPS option does not validate addresses in Canada. Does the USPS option work for international addresses? thank you, Alex

    May 15, 2018 at 12:09 am
    • Lorenzo

      Hi James,

      Easypost address validation API should work best, let me know if you face issues with Easy post API,


      May 15, 2018 at 3:16 pm
  • mixon14

    Some bug on mobile devices!

    When I choose an adress in a Search adress field, other field don’t fill automatically.

    How to fix it?

    October 5, 2017 at 8:12 pm
    • Anindo

      Hi Mixon,

      That’s strange.
      Can you record your screen and show it to us so that we can see this?
      or else, you can raise a ticket via this link.

      Our team will check it out.

      October 5, 2017 at 8:27 pm
    • mixon14

      Dont answer, I fix it myself))

      October 5, 2017 at 9:09 pm
  • mixon14

    Hi! Thanks for plugin – its great!

    I need to translate text on checkout page: “Address Autocomplete” and “Search adress”

    How can I do that?

    October 5, 2017 at 6:53 pm
    • Anindo

      Hi Mixon,

      Can you please raise a ticket on this.
      We can help you translate the text.

      October 5, 2017 at 8:30 pm
    • mixon14

      Thanks, I do it myself in php-file))

      October 5, 2017 at 9:10 pm

Leave a Reply