Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

MaxMind Fraud Detection - help with 20 FREE queries per day
 
Reply
   X-Cart forums > X-Cart 4 > Changing and adding new features
 
Thread Tools Search this Thread
  #1  
Old 10-29-2004, 10:40 AM
  Zaja's Avatar 
Zaja Zaja is offline
 

X-Adept
  
Join Date: Mar 2004
Location: The Universe is my home
Posts: 420
 

Default MaxMind Fraud Detection - help with 20 FREE queries per day

Simple and dirty hack for easily use MaxMind 20 FREE queries per IP address per day.
////////////////////////////////////

Save this code as /xcart/skin/maxmind.tpl:

Code:
<form method="post" action="https://www.maxmind.com/app/ccv2r_html" target="_blank"> <table cellpadding="5" cellspacing="0" style="background-color:#ECE9D8; border:1px solid #CAC393"> <tr> <td colspan="2" bgcolor=#D8D2AF>MaxMind Credit Card Fraud Detection</td> </tr> <tr> <td valign="top">IP Address</td> <td><input name="i" type="text" value="{$order.extra.ip}"></td> </tr> <tr> <td valign="top">Domain of E-mail address</td> <td><input name="domain" type="text" value="{$customer.email}"></td> </tr> <tr> <td valign="top">Credit Card Billing City</td> <td><input name="city" type="text" value="{$customer.s_city}"></td> </tr> <tr> <td valign="top">Credit Card Billing Region</td> <td><input name="region" type="text" value="{$customer.s_statename}"></td> </tr> <tr> <td valign="top">Credit Card Billing Postal Code</td> <td><input name="postal" type="text" value="{$customer.s_zipcode}"></td> </tr> <tr> <td valign="top">Select Credit Card Billing Country</td> <td><input name="country" type="text" value="{$customer.s_country}"></td> </tr> <tr> <td valign="top">Customer Phone</td> <td><input name="custPhone" type="text" value="{$customer.phone}" maxlength="255"></td> </tr> <tr> <td colspan="2"><input value="Test via MaxMind" type="submit"></td> </tr> </table> </form> <HR>

Open /xcart/skin/main/order_info.tpl and place this code at the end of the file:

Code:
{if $usertype ne "C"} {include file="maxmind.tpl"} {/if}

Thats all..

Go to Admin Panel >> Orders >> Order details.....and press "Test via MaxMind" button.
__________________
_/ _/ _/ _/ _/ _/ _/ _/ _/

7dana.com
Reply With Quote
  #2  
Old 02-22-2005, 07:57 PM
 
Lingerieblowout Lingerieblowout is offline
 

X-Adept
  
Join Date: Sep 2003
Location: Annapolis, MD
Posts: 415
 

Default Need to add to MaxMind Mod

What a great free Fraud Mod. I only have two comments.

You need to add:

(1)
<option value="US"> United States

(2)
<td valign="top">IP Address</td>
<td><input name="i" type="text" value="{$order.extra.ip}"></td>

Change the above if you called your IP a different name. Using CartLab free IP mod. Then you would change this code to:

<td valign="top">IP Address</td>
<td><input name="i" type="text" value="{$order.ip}"></td>

Michael
__________________
http://www.lingerieblowout.com
Version 4.1.10

http://www.topnichewebsites.com
Version 4.4.5

Michael
Reply With Quote
  #3  
Old 07-24-2005, 06:00 AM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default

Just stumbled on this; wow, thank you very much! Works perfect in 4.0.14
__________________
--------------------
X-Cart Gold 4.1.11
Linux/Apache
--------------------
Reply With Quote
  #4  
Old 09-19-2005, 03:35 AM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default

Just curious if anyone knows if this is checking automatically? Reason, everytime we try to use it now, it tells us "Query limit reached" on any order we check now.
__________________
--------------------
X-Cart Gold 4.1.11
Linux/Apache
--------------------
Reply With Quote
  #5  
Old 09-19-2005, 03:46 AM
  Zaja's Avatar 
Zaja Zaja is offline
 

X-Adept
  
Join Date: Mar 2004
Location: The Universe is my home
Posts: 420
 

Default

Do you have MaxMind Free Trial account?

http://www.maxmind.com/app/ccv2r_signup
__________________
_/ _/ _/ _/ _/ _/ _/ _/ _/

7dana.com
Reply With Quote
  #6  
Old 09-19-2005, 04:48 AM
 
Lingerieblowout Lingerieblowout is offline
 

X-Adept
  
Join Date: Sep 2003
Location: Annapolis, MD
Posts: 415
 

Default

I also got the limit reached. This is nothing automatic about it. I hust signed up for the free trial, but I think I will have to reformat this Mod to work.
__________________
http://www.lingerieblowout.com
Version 4.1.10

http://www.topnichewebsites.com
Version 4.4.5

Michael
Reply With Quote
  #7  
Old 09-19-2005, 04:54 AM
  Zaja's Avatar 
Zaja Zaja is offline
 

X-Adept
  
Join Date: Mar 2004
Location: The Universe is my home
Posts: 420
 

Default

20 FREE queries per IP address per day is changed to 1,000 query limit.
__________________
_/ _/ _/ _/ _/ _/ _/ _/ _/

7dana.com
Reply With Quote
  #8  
Old 09-19-2005, 05:04 AM
 
Lingerieblowout Lingerieblowout is offline
 

X-Adept
  
Join Date: Sep 2003
Location: Annapolis, MD
Posts: 415
 

Default

All three dedicated IPs stop working on the same day. I think there is a little more then 20 per IP address. I think what you might of meant is 20 a day from the IP address from the physical PC that is being used.

It's still early here so forgive my brain.

How do I incorporate the trial with the keys that I have to post the same info ?
__________________
http://www.lingerieblowout.com
Version 4.1.10

http://www.topnichewebsites.com
Version 4.4.5

Michael
Reply With Quote
  #9  
Old 09-19-2005, 05:16 AM
  Zaja's Avatar 
Zaja Zaja is offline
 

X-Adept
  
Join Date: Mar 2004
Location: The Universe is my home
Posts: 420
 

Default

Do you have any trial keys?
You can include hidden input with your keys:
Code:
<input name="license_key" type="hidden" value="your_trial_key_code" />
__________________
_/ _/ _/ _/ _/ _/ _/ _/ _/

7dana.com
Reply With Quote
  #10  
Old 09-19-2005, 05:25 AM
 
Lingerieblowout Lingerieblowout is offline
 

X-Adept
  
Join Date: Sep 2003
Location: Annapolis, MD
Posts: 415
 

Default

Thanks ....

I will work on that tonight and post the changes !
__________________
http://www.lingerieblowout.com
Version 4.1.10

http://www.topnichewebsites.com
Version 4.4.5

Michael
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Changing and adding new features


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 09:11 AM.

   

 
X-Cart forums © 2001-2018