mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Fix for Payment Express
This commit is contained in:
parent
bd8414f0d8
commit
006bb1c6e4
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Ninja\PaymentDrivers;
|
||||
|
||||
use Request;
|
||||
|
||||
class PaymentExpressPxPayPaymentDriver extends BasePaymentDriver
|
||||
{
|
||||
protected function paymentDetails($paymentMethod = false)
|
||||
{
|
||||
$data = parent::paymentDetails();
|
||||
|
||||
$data['transactionId'] = $data['transactionId'] . '-' . $this->invoice()->updated_at->timestamp;
|
||||
|
||||
return $data;
|
||||
}
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Ninja\PaymentDrivers;
|
||||
|
||||
use Request;
|
||||
|
||||
class PaymentExpressPxPostPaymentDriver extends BasePaymentDriver
|
||||
{
|
||||
protected function paymentDetails($paymentMethod = false)
|
||||
{
|
||||
$data = parent::paymentDetails();
|
||||
|
||||
$data['transactionId'] = $data['transactionId'] . '-' . $this->invoice()->updated_at->timestamp;
|
||||
|
||||
return $data;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user