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

Commit

Permalink
Adds vault preauth to efraud array
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig Paul committed Oct 23, 2016
1 parent 4295d1e commit 96aa2fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Transaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public function toXml()
$type = $xml->addChild($params['type']);
$efraud = in_array(
$params['type'],
['purchase', 'preauth', 'card_verification', 'cavv_purchase', 'cavv_preauth', 'res_purchase_cc']
['purchase', 'preauth', 'card_verification', 'cavv_purchase', 'cavv_preauth', 'res_purchase_cc', 'res_preauth_cc']
);
unset($params['type']);

Expand Down

0 comments on commit 96aa2fd

Please sign in to comment.