Set invoice number with Authorize.net

This commit is contained in:
Hillel Coren 2017-10-18 16:35:00 +03:00
parent 204cd7ad17
commit 2b051a9dea

View File

@ -10,6 +10,7 @@ class AuthorizeNetAIMPaymentDriver extends BasePaymentDriver
{
$data = parent::paymentDetails();
$data['solutionId'] = $this->accountGateway->getConfigField('testMode') ? 'AAA100303' : 'AAA172036';
$data['invoiceNumber'] = $this->invoice()->invoice_number;
return $data;
}