1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00
invoiceninja/app/Ninja/PaymentDrivers/AuthorizeNetAIMPaymentDriver.php

18 lines
477 B
PHP
Raw Normal View History

2017-01-30 20:40:43 +01:00
<?php
namespace App\Ninja\PaymentDrivers;
2016-06-20 16:14:43 +02:00
class AuthorizeNetAIMPaymentDriver extends BasePaymentDriver
{
protected $transactionReferenceParam = 'refId';
2017-10-04 12:00:03 +02:00
protected function paymentDetails($paymentMethod = false)
{
$data = parent::paymentDetails();
$data['solutionId'] = $this->accountGateway->getConfigField('testMode') ? 'AAA100303' : 'AAA172036';
2017-10-18 15:35:00 +02:00
$data['invoiceNumber'] = $this->invoice()->invoice_number;
2017-10-04 12:00:03 +02:00
return $data;
}
2016-06-20 16:14:43 +02:00
}