0
I am with a project of an online supermarket and my client wishes that only those who live within the city where he owns this supermarket can place orders. He has problems because he already has this supermarket using opencart and always appears an order from out of town and even out of state. Is there any way to limit so that only IP addresses within the city can make your purchases?
The problem of using the IP and that can often emulate the IP of another city or country, in this case you do not use the zip code to make the request? I think it would be the least painful way
– MarceloBoni
Good idea buddy
– Abel SCJ
I’ve had problems with applications that thought I was in the United States when I was in São Paulo. This is because the network I used was being tunneled there (yes, this was intentional) before returning to Brazil.
– Victor Stafusa
@Victorstafusa if it’s something you can send by letter still goes, hard is if it’s something that weighs a... tunnel :P
– Bacco
It’s complicated that way. Ip is strange I use an adsl with not fixed ip and many sites specializing in ips analysis see my location which is in Uberlândia in several places of operation of the Algar Telecom Group network as Mato Grosso, Goiás or any other city. As the guys said a right way is to ask the zip code before or before closing the shopping cart and at this point warn if he has not read the messages on the site. It is very common in Brazil to come across people who do not read the site and only see what they want and disregard everything around them.
– user58118