From ebf99acabc7d7923a1c9941e2e3dfb789fecbfd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Fri, 9 Oct 2020 23:16:07 +0200 Subject: [PATCH] Update PaymentController.php --- app/Http/Controllers/ClientPortal/PaymentController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/ClientPortal/PaymentController.php b/app/Http/Controllers/ClientPortal/PaymentController.php index b5489b4804f5..bdbb69a6f86c 100644 --- a/app/Http/Controllers/ClientPortal/PaymentController.php +++ b/app/Http/Controllers/ClientPortal/PaymentController.php @@ -69,7 +69,7 @@ class PaymentController extends Controller */ public function process() { - $gateway = CompanyGateway::findOrFail('id', request()->input('company_gateway_id')); + $gateway = CompanyGateway::findOrFail(request()->input('company_gateway_id')); /*find invoices*/