Skip to content
This repository has been archived by the owner on Jun 3, 2022. It is now read-only.

Commit

Permalink
Release ccfd-api-java 1.50
Browse files Browse the repository at this point in the history
  • Loading branch information
borisz committed Apr 17, 2012
1 parent 965f1bd commit 1a3ba08
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Changes
@@ -1,4 +1,7 @@
Revision history for MaxMind minFraud Java API
1.50 Mar 13th 2012
- Check countryMatch instead of score for successful results. Score is
only avail for minfraud_version 1.3 ( Boris Zentner )
1.49 Februar 19th 2009
- Add minfraud3.maxmind.com to the serverlist
1.48 October 3th 2008
Expand Down
2 changes: 1 addition & 1 deletion com/maxmind/ws/CreditCardFraudDetection.java
Expand Up @@ -41,7 +41,7 @@ public CreditCardFraudDetection() {
}
public CreditCardFraudDetection(boolean s) {
url = "app/ccv2r";
check_field = "score";
check_field = "countryMatch";
allowed_fields = new HashMap();
for (int i = 0; i < allowedfields.length; i++) {
allowed_fields.put(allowedfields[i],new Integer(1));
Expand Down
4 changes: 2 additions & 2 deletions com/maxmind/ws/HTTPBase.java
Expand Up @@ -40,7 +40,7 @@ public class HTTPBase{
public boolean isSecure = true;
public float timeout = 10; // default timeout is 10 seconds
public boolean debug = false;
public String check_field = "score";
public String check_field = "countryMatch";
public boolean useDNS = false;
public long wsIpaddrRefreshTimeout = 18000;
private static Pattern ippattern = Pattern.compile("(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3};)*\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}");
Expand Down Expand Up @@ -266,7 +266,7 @@ boolean querySingleServer(String server) {
query_data[n] = new NameValuePair(key,value);
n++;
}
query_data[n] = new NameValuePair("clientAPI","Java/1.49");
query_data[n] = new NameValuePair("clientAPI","Java/1.50");
// scheme already has the name of the proctol
// append the domain name of the server, url of the web service
// and the query string to the string named url2
Expand Down

0 comments on commit 1a3ba08

Please sign in to comment.