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

Commit

Permalink
Updates for 1.54 release
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald committed Sep 1, 2013
1 parent eb82ba1 commit 120b7a9
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Changes
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
Revision history for MaxMind CreditCardFraudDetection PHP API

1.54 Aug 27th 2013
1.54 Sept 1st 2013

- Remove custom DNS cache support. ( Boris Zentner )
- Fixed Composer require issue. ( james-lsn )

1.53 Jun 24th 2013
- Removed deprecated use of `ereg`.
Expand Down
19 changes: 16 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ To do this, add ```minfraud/http``` to your ```composer.json``` file.
```json
{
"require": {
"minfraud/http": "~1.53"
"minfraud/http": "~1.54"
}
}
```
Expand Down Expand Up @@ -56,12 +56,25 @@ These scripts can be run from the shell.
## Usage ##

```php
<?php
require_once 'vendor/autoload.php';

$inputs = array(
"license_key" => "YOUR_LICENSE_KEY_HERE",
"i" => "24.24.24.24",
"city" => "New York",
"region" => "NY",
"postal" => "11434",
"country" => "US",
// Other inputs from http://dev.maxmind.com/minfraud/
);

$ccfs = new CreditCardFraudDetection;
$ccfs->input($hash);
$ccfs->input($inputs);
$ccfs->query();
$hash = $ccfs->output();
$outputs = $ccfs->output();

print_r($outputs)
```
### $ccfs->isSecure ###

Expand Down

0 comments on commit 120b7a9

Please sign in to comment.