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*/