From 8a38d14f8af1db8c171854d4137e9ac707b1cc79 Mon Sep 17 00:00:00 2001 From: jmauzyk Date: Tue, 19 Nov 2019 11:50:19 -0600 Subject: [PATCH] Added retrieval of BIN Response data --- src/Message/AuthorizeRequest.php | 1 + src/Message/PurchaseRequest.php | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Message/AuthorizeRequest.php b/src/Message/AuthorizeRequest.php index 76ed1df..95f816e 100755 --- a/src/Message/AuthorizeRequest.php +++ b/src/Message/AuthorizeRequest.php @@ -26,6 +26,7 @@ public function getData() 'postal' => $card->getBillingPostcode(), 'email' => $card->getEmail(), 'phone' => $card->getBillingPhone(), + 'bin' => 'Y', 'tokenize' => 'Y', 'ecomind' => 'E' ]; diff --git a/src/Message/PurchaseRequest.php b/src/Message/PurchaseRequest.php index aeb8b49..3658017 100755 --- a/src/Message/PurchaseRequest.php +++ b/src/Message/PurchaseRequest.php @@ -27,8 +27,9 @@ public function getData() 'email' => $card->getEmail(), 'phone' => $card->getBillingPhone(), 'retref' => $this->getTransactionReference(), + 'bin' => 'Y', 'tokenize' => 'Y', - 'ecomind' => 'E', + 'ecomind' => 'E', 'capture' => 'Y' ]; return $data;