1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 22:54:25 +01:00
invoiceninja/app/Ninja/PaymentDrivers/PaymentExpressPxPayPaymentDriver.php
2019-03-10 09:45:44 +02:00

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;
}
}