Skip to content
This repository has been archived by the owner on Oct 30, 2020. It is now read-only.

Commit

Permalink
Adds another caveat to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig Paul committed Dec 8, 2016
1 parent 7c35112 commit 14525af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,9 @@ $params = [
$response = $gateway->verify($params); // could be purchase, preauth, etc.
```

> Note: When making an AVS or CVD secured transaction, even if AVS or CVD fails, you will still have to void the transaction. There are two easy ways around this (DAMN MONERIS!).
> Note: When making an AVS or CVD secured transaction, even if AVS or CVD fails, you will still have to void the transaction (DAMN MONERIS!). There are two easy ways around this.
Verify the card first.
Verify the card first. Using this method, there is one additional caveat (let me repeat it again...DAMN MONERIS!). Your verification transaction and purchase transaction must have different `order_id` parameters. One such solution could be to prepend an specific prefix to the front of verification order ids.

```php
$response = $gateway->verify($params);
Expand All @@ -207,7 +207,7 @@ if ($response->successful && !$response->failedAvs && !$response->failedCvd) {
Void the transaction.

```php
$response = $gateway->purchase($params);
$response = $gateway->purchase($params);

if ($response->successful && ($response->failedAvs || $response->failedCvd)) {
$errors = $response->errors;
Expand Down

0 comments on commit 14525af

Please sign in to comment.