GeoIP service allows the extension to automatically determine a user's country, state, postcode or city based on their IP address. In order for this feature to work properly on your site, follow the steps described below.
Step 1. Download GeoIP Database
Go to http://www.maxmind.com/app/geolitecity and download the latest "GeoLite City Binary Format" file.
Screenshot: Download GeoIP DataBase
Step 2. Unpack and Upload the file
Unpack the GeoLiteCity.dat file from the "GeoLiteCity.dat" package to the /media/geoip/ directory of your Magento® software using an FTP client.
Create a "geoip" folder if you do not have one already.
Step 3. Enable GeoIP
Go to Stores → Configuration → LightCheckout → GeoIP Settings and enable GeoIP for Country, State, Postcode or City.
Screenshot: GeoIP settings
Enable GeoIP for Country
Set "Yes" to enable GeoIP determination for countries.
Enable GeoIP for State/Province
Set "Yes" to enable GeoIP determination for states and provinces.
Note! This option ONLY works with a paid version of MaxMind database.
Enable GeoIP for Zip/Postcode
Set "Yes" to enable GeoIP determination for postal codes.
Enable GeoIP for City
Set "Yes" to enable GeoIP determination for cities.