mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 12:42:36 +01: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('token', $request->input('source'))
|
||||
->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->additional(['customer_id' => $customer->gateway_customer_reference]);
|
||||
|
Loading…
Reference in New Issue
Block a user