mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
18 lines
477 B
PHP
18 lines
477 B
PHP
<?php
|
|
|
|
namespace App\Ninja\PaymentDrivers;
|
|
|
|
class AuthorizeNetAIMPaymentDriver extends BasePaymentDriver
|
|
{
|
|
protected $transactionReferenceParam = 'refId';
|
|
|
|
protected function paymentDetails($paymentMethod = false)
|
|
{
|
|
$data = parent::paymentDetails();
|
|
$data['solutionId'] = $this->accountGateway->getConfigField('testMode') ? 'AAA100303' : 'AAA172036';
|
|
$data['invoiceNumber'] = $this->invoice()->invoice_number;
|
|
|
|
return $data;
|
|
}
|
|
}
|