Skip to content

Commit

Permalink
My bad. I don't know what I'm doing today :)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfauveau committed Aug 19, 2014
1 parent 4a7a75d commit 84201b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Omnipay/Pacnet/Message/AuthorizeRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 84201b2

Please sign in to comment.