1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Improve authorizenet transaction reference

This commit is contained in:
Hillel Coren 2018-03-20 20:32:50 +02:00
parent 17cbb503a8
commit b814e5281f

View File

@ -14,4 +14,11 @@ class AuthorizeNetAIMPaymentDriver extends BasePaymentDriver
return $data;
}
public function createPayment($ref = false, $paymentMethod = null)
{
$ref = $this->purchaseResponse['transactionResponse']['transId'] ?: $this->purchaseResponse['refId'];
parent::createPayment($ref, $paymentMethod);
}
}