Anything that relies on the correct addresses entered has to bear the far-reaching consequences when the data is wrong. Get the addresses validated using the WooCommerce Address Validation for the United Kingdom region using a plugin to automatically correct the errors while inputting the addresses and also with effective auto-completion options.
Introduction
The success of an eCommerce store lies in the prompt and correct delivery of items to different locations. To ensure that it works correctly, it is ideal to use an address validation plugin that keeps the mailing list in top shape. The plugin will help you fetch the addresses correctly along with the automatic address completion from fragments of addresses typed in using Google Address validation, which covers any region and helps to ensure that no invalid locations details are fed into the address book. It does save plenty of time for your customers too. It checks for typos and any human error caused while entering the wrong address.
Let us take a look at how you can do the address validation for the United Kingdom region using the ELEX WooCommerce Address Validation & Address Autocomplete Plugin.
ELEX WooCommerce Address Validation & Address Autocomplete Plugin
The plugin is ideal to avoid all the problems you face with the wrong addresses fed into the system. You don’t need to run around to get the correct address fed into your store, as these addresses can be automatically validated using the Google Autocomplete feature and the address validation option in the plugin. Here are some of the features of the same :
It uses the Google Places Autocomplete to return the place predictions while entering the address in the fields.
- Google Autocomplete lets you fill the address automatically even in a fresh order created in the backend.
- Validate address automatically, with Address Validation APIs from UPS, USPS, Addressfinder API and EasyPost.
- Get address validation based on countries.
- You can easily enforce the address validation so that no incorrect address is populated.
- You can also get confirmation on address beforehand accepting orders.
- Excellent customization options.
- Compatible with WordPress themes and plugins.
WooCommerce Address Validation for United Kingdom
In order to validate the address for the United Kingdom region, you need to set the plugin in such a way that it lets you check on the specific region addresses whenever a user enters the same.
Step 1: Install the plugin and then go to settings.
Step 2: Provide API credentials in the plugin.
To access it ,go to WooCommerce>>Address Validation & AutoComplete >> API Credentials.
Here you need to enter the API keys and the other username and password etc. These are the following API keys you need to obtain.
- Google Autocomplete API Key
- EasyPost API key
- UPS username, password, and the license key, for UPS
- USPS user ID
- AddressFinder API, if you are using Australia Post services.
Read more about the same here in the product documentation.
For enabling the address validation for the United Kingdom, we need only the EasyPost API key. Each API key covers specific locations, which you can even find when you obtain the API key. Here we make use of the EasyPost API key for United Kingdom location.
Step 3: Enable Address autocomplete and also provide the Google API key.
To help the auto-completion of addresses when the user enters the fragments of address to the address field, you need to enable the feature, by enabling Address Autocomplete. To enable the same on the checkout page, enable Address Autocomplete (Checkout Page) for address auto-fill in the page.If you want to enable address to autocomplete for fresh orders created in the backend, then enable Address Autocomplete (Backend Orders). To enable the address validation for the United Kingdom region, then here you need to choose the country as United Kingdom from Specific countries in Address Autocomplete Available to or you can opt for All Countries too. Then provide the Google API Key which can be obtained from Google to help populate the addresses in the fields. If you want to make the address fields editable then ensure you check the checkbox for Editable Address Fields here.
Read more about the same here in the product documentation.
Step 4: Choose the API to validate the address as per your need.
These settings help in validating your customers’ address using EasyPost, UPS, USPS, Addressfinder API, and Country Specific.
Here since we use EasyPost API, you can choose the same in the Address Validation option as well. Also enable to enforce address validation, to ensure that without validating the address the user cannot proceed further. You can also enable debug mode to cross-check details in log. Also enable the Confirm Before Validation, if you want the customers to confirm the address before the validation. To confirm the same, you can either use a message or a pop-up window by choosing the appropriate one from the Confirm Using settings.
Step 5: Customization
The next step to customize the plugin as per your need on your store. You get varied options in customizations here.
Here you can various options, which can be customized as per your website including the messages that appear as well as the labels.
Step 7: Demonstration
Once all the above steps are done, when a user enters an address on the checkout page, depending on the characters entered the address gets automatically populated.
If you had enabled the setting, wherein the address needs to be validated before proceeding to the checkout, then when an address is modified or changed, the customer cannot proceed without validating the address. The validation of addresses appears on two formats like given below.
One option is like given below :
The next option is :
Upon receiving this notification, the user needs to validate the address before proceeding to checkout.
To Wrap Up
This is how you can perform WooCommerce Address Validation for the United Kingdom region using the WooCommerce address validation plugin. Without the right address, you might end up in delivering the items wrongly, which in turn hamper the business reputation.