mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
use system log code
This commit is contained in:
parent
59e09f8df8
commit
a06cc005fe
@ -152,7 +152,7 @@ class PaymentMethod implements MethodInterface
|
|||||||
->where('client_id', $this->rotessa->client->id)
|
->where('client_id', $this->rotessa->client->id)
|
||||||
->where('token', $request->input('source'))
|
->where('token', $request->input('source'))
|
||||||
->first();
|
->first();
|
||||||
if(!$customer) throw new \Exception('Client gateway token not found!', 605);
|
if(!$customer) throw new \Exception('Client gateway token not found!', SystemLog::TYPE_ROTESSA);
|
||||||
|
|
||||||
$transaction = new Transaction($request->only('frequency' ,'installments','amount','process_date') + ['comment' => $this->rotessa->getDescription(false) ]);
|
$transaction = new Transaction($request->only('frequency' ,'installments','amount','process_date') + ['comment' => $this->rotessa->getDescription(false) ]);
|
||||||
$transaction->additional(['customer_id' => $customer->gateway_customer_reference]);
|
$transaction->additional(['customer_id' => $customer->gateway_customer_reference]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user