From a06cc005fe5779f26897d101f9703f0876f0da5a Mon Sep 17 00:00:00 2001 From: karneaud Date: Mon, 29 Jul 2024 22:13:08 -0400 Subject: [PATCH] use system log code --- app/PaymentDrivers/Rotessa/PaymentMethod.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/PaymentDrivers/Rotessa/PaymentMethod.php b/app/PaymentDrivers/Rotessa/PaymentMethod.php index 6f0b327371c5..73abcc4b41bb 100755 --- a/app/PaymentDrivers/Rotessa/PaymentMethod.php +++ b/app/PaymentDrivers/Rotessa/PaymentMethod.php @@ -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]);