elecktro1337 Posted September 17, 2019 Share Posted September 17, 2019 In the standard WHMCS layout, there is no protection against adding false data. A person can just write "a" in the City and the system will accept this data for due. Tell me, can the module is any, or the opportunity to elaborate on this with regexps? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted September 19, 2019 Share Posted September 19, 2019 On 17/09/2019 at 18:51, elecktro1337 said: In the standard WHMCS layout, there is no protection against adding false data. A person can just write "a" in the City and the system will accept this data for due. Tell me, can the module is any, or the opportunity to elaborate on this with regexps? i'm not aware of any such module - but in order for it to work, wouldn't it need to know the name of every city in every country (or at least every country that you wanted to sell to) ? 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted September 20, 2019 Share Posted September 20, 2019 Well, who cares? 😁 It's nice that you want to put some validations but you're not responsible for what people write when they register on your website. For example you could throw an error for things like "a" in the City field but it would be wrong. "A" is a village in Japan, "Á" is in Iceland, "Å" is in Norway. Here is the complete list. Personally I wouldn't add any further validation. You could do more harm than good. 0 Quote Link to comment Share on other sites More sharing options...
DennisHermannsen Posted September 20, 2019 Share Posted September 20, 2019 You could use a fraud addon such as MaxMind minFraud. If a client enters incorrect data, the order will be set as fraud. I know it detects incorrect zip codes, so might possibly also detect incorrect cities. 0 Quote Link to comment Share on other sites More sharing options...
zomex Posted October 4, 2019 Share Posted October 4, 2019 On 9/21/2019 at 12:17 AM, DennisHermannsen said: You could use a fraud addon such as MaxMind minFraud. If a client enters incorrect data, the order will be set as fraud. I know it detects incorrect zip codes, so might possibly also detect incorrect cities. I will second this. We've been using Maxmind for almost 10 years now to great effect. It is not perfect and will get it wrong sometimes but I can't imagine not using it now. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.