Fix:
you need to use ipinfo.io not ipstack.com
I’ve changed this code on script.js
var IPINFO_TOKEN = ‘<YOUR_API_KEY>’;
var intl_tel_default_setting={
initialCountry: “auto”,
utilsScript: wpcf7_utils_url,
geoIpLookup: function(callback) {
jQuery.get(‘//ipinfo.io?token=’+IPINFO_TOKEN, function() {}, “jsonp”).always(function(resp) {
var countryCode = (resp && resp.country) ? resp.country : “”;
callback(countryCode);
});
// jQuery.get(‘//freegeoip.net/json’, function() {}, “jsonp”).always(function(resp) {
// var countryCode = (resp && resp.country_code) ? resp.country_code : “”;
// callback(countryCode);
// });
}
};