mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
18 lines
396 B
PHP
18 lines
396 B
PHP
<?php
|
|
|
|
namespace App\Ninja\PaymentDrivers;
|
|
|
|
use Request;
|
|
|
|
class PaymentExpressPxPostPaymentDriver 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;
|
|
}
|
|
}
|