From 84201b2d216c8327f1cba379e123abb5e09b0f74 Mon Sep 17 00:00:00 2001 From: Matthieu Fauveau Date: Tue, 19 Aug 2014 14:50:39 -0400 Subject: [PATCH] My bad. I don't know what I'm doing today :) --- src/Omnipay/Pacnet/Message/AuthorizeRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Omnipay/Pacnet/Message/AuthorizeRequest.php b/src/Omnipay/Pacnet/Message/AuthorizeRequest.php index 3acdaea..835d4f8 100644 --- a/src/Omnipay/Pacnet/Message/AuthorizeRequest.php +++ b/src/Omnipay/Pacnet/Message/AuthorizeRequest.php @@ -13,7 +13,7 @@ public function getData() $data['PymtType'] = 'cc_preauth'; - if (null !== $this->getTransactionReference()) { + if (is_null($this->getTransactionReference())) { $this->validate('card'); $data['CardBrand'] = $this->getCard()->getBrand();