mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-13 22:54:25 +01:00
18 lines
395 B
PHP
18 lines
395 B
PHP
<?php
|
|
|
|
namespace App\Ninja\PaymentDrivers;
|
|
|
|
use Request;
|
|
|
|
class PaymentExpressPxPayPaymentDriver extends BasePaymentDriver
|
|
{
|
|
protected function paymentDetails($paymentMethod = false)
|
|
{
|
|
$data = parent::paymentDetails();
|
|
|
|
$data['transactionId'] = substr($data['transactionId'] . '-' . strrev($this->invoice()->updated_at->timestamp), 0, 15);
|
|
|
|
return $data;
|
|
}
|
|
}
|