From 77a28b426e784a17fa19bc9ae9e7f05ea4f36247 Mon Sep 17 00:00:00 2001 From: Kendall Arneaud Date: Sat, 27 Jul 2024 11:47:31 -0400 Subject: [PATCH] Update PaymentMethod.php remove id from sql Signed-off-by: Kendall Arneaud --- app/PaymentDrivers/Rotessa/PaymentMethod.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/PaymentDrivers/Rotessa/PaymentMethod.php b/app/PaymentDrivers/Rotessa/PaymentMethod.php index 674961fb7a83..2a551dff7ee6 100755 --- a/app/PaymentDrivers/Rotessa/PaymentMethod.php +++ b/app/PaymentDrivers/Rotessa/PaymentMethod.php @@ -151,7 +151,6 @@ class PaymentMethod implements MethodInterface ->where('company_gateway_id', $this->rotessa->company_gateway->id) ->where('client_id', $this->rotessa->client->id) ->where('token', $request->input('source')) - ->where('id', $this->decodePrimaryKey($request->input('source'))) ->first(); if(!$customer) throw new \Exception('Client gateway token not found!', 605);