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:
parent
17cbb503a8
commit
b814e5281f
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user