martinskin Posted October 28, 2008 Posted October 28, 2008 I am thinking of changing my payment processor, but my existing one WorldPay, has sofisticated ways to block people: by countryby nameby email addressand several more Can this be done in os-commerce and if so where and how? If it cannot currently be done, how much would it cost to get it written??? Thanks
Guest Posted October 28, 2008 Posted October 28, 2008 One way is to use .htaccess. If you know the ip address of the people you want bloced you could use something like order allow,deny deny from 123.45.6.7 deny from 012.34.5. allow from all
martinskin Posted October 28, 2008 Author Posted October 28, 2008 One way is to use .htaccess. If you know the ip address of the people you want bloced you could use something like order allow,deny deny from 123.45.6.7 deny from 012.34.5. allow from all Not paticularly satisfactory though if they use different computers, we want to block the individual person, not the computer.... Thanks anyway - anyone else got ideas?
php_Guy Posted October 28, 2008 Posted October 28, 2008 There's not really an effective way to block someone. You can block their IP which is the most effective but as you say they may have different computers with different IPs. Not to mention that they are probably using a dynamic IP anyway. If you want to block by email you could simply change the password on the account of the person you want to block. That way they wouldn't be able to login and they wouldn't be able to create a new account with that email since it's already taken. He/she could easily get a dozen new email addresses in an afternoon so that's less than ideal. There are a number of ways to block names but what forces them to use a valid name at login? You could block names associated with CCs but then you are storing CC data. That will cause much bigger problems than just having an annoying user. Unless you just have a list of names and block all CCs with those names. Would you really want to block everyone named John Smith? You could add some specific code to check CCs against a list of blocked CCs but there you are storing CC info again. osCommerce has built in country and zone controls where you can accept/refuse orders to specified countries/zones. That may help some but there's no way to use that method to block someone from an area that you want to do business in. Basically, there's lots of ways to block people and all of them can be circumvented and/or cause you bigger problems.
Jack_mcs Posted October 28, 2008 Posted October 28, 2008 I am thinking of changing my payment processor, but my existing one WorldPay, has sofisticated ways to block people: by countryby nameby email addressand several more Can this be done in os-commerce and if so where and how? If it cannot currently be done, how much would it cost to get it written??? Thanks See My Contributions for the lacklist contribution. That won't block them from visiting your shop but will stop them from ordering, if that helps. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Recommended Posts
Archived
This topic is now archived and is closed to further replies.