2019-02-19 12:06:11 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App\Ninja\PaymentDrivers;
|
|
|
|
|
|
|
|
|
|
use Request;
|
|
|
|
|
|
|
|
|
|
class PaymentExpressPxPostPaymentDriver extends BasePaymentDriver
|
|
|
|
|
{
|
|
|
|
|
protected function paymentDetails($paymentMethod = false)
|
|
|
|
|
{
|
|
|
|
|
$data = parent::paymentDetails();
|
|
|
|
|
|
2019-03-10 09:45:44 +02:00
|
|
|
$data['transactionId'] = substr($data['transactionId'] . '-' . strrev($this->invoice()->updated_at->timestamp), 0, 15);
|
2019-02-19 12:06:11 +02:00
|
|
|
|
|
|
|
|
return $data;
|
|
|
|
|
}
|
|
|
|
|
}
|