From 96aa2fdae7eed5d4ae90e5f609a41dafe9a683a7 Mon Sep 17 00:00:00 2001 From: Craig Paul Date: Sun, 23 Oct 2016 07:50:33 -0600 Subject: [PATCH] Adds vault preauth to efraud array --- src/Transaction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Transaction.php b/src/Transaction.php index 06450cd..65454fa 100644 --- a/src/Transaction.php +++ b/src/Transaction.php @@ -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']);