Loqate - data validation

Loqate’s address, email and phone validation help retailers enhance customer experience, reduce failed deliveries and protect against fraud.
fulllogo-colour-loqate-450x450.png

About

Loqate is the most advanced software for capturing, verifying and enriching customer data globally.  Loqate's suite of data validation tools are designed to seamlessly enhance your retail operations, ensuring data accuracy, reducing failed deliveries, and protecting against fraud.

Address Capture: Ensure location accuracy from the first keystroke. Loqate's technology can pinpoint a location and display results with as few as three keystrokes, even correcting spelling mistakes and typos automatically.

Address Verify: Verifies, corrects and enriches address data to the highest level of precision and confidence, globally and at scale.

Email Validation: Validate email addresses as customers enter them in your Commercetools store. Ensure you're collecting real email addresses from real customers, enhancing your marketing reach and reducing bounce rates.

Phone Validation: Instantly validate mobile and landline numbers at the point of capture. Maintain an up-to-date customer database and deliver efficient communications, improving customer satisfaction and reducing fraud.

Description of the Integration

The integration is provided as a reference build against the B2C Frontend template.

There are two parts to the changes – Backend for frontend changes, and frontend changes:

Backend for frontend: 
LoqateController – interacts with the Loqate API, integrating them into the commercetools environment
LoqateAPI class – contains the functions to drive the controller

Frontend Changes:
Loqate Context – central state management for loqate services.
Address Capture Component – Component for capturing and suggesting events
Restricted Countries – Custom hooks that revive and manage the list of countries for the address lookup api.