razorpay = $razorpay; $this->razorpay->init(); } /** * Show the authorization page for Razorpay. * * @param array $data * @return View */ public function authorizeView(array $data): View { return render('gateways.razorpay.hosted.authorize', $data); } /** * Handle the authorization page for Razorpay. * * @param Request $request * @return RedirectResponse */ public function authorizeResponse(Request $request): RedirectResponse { return redirect()->route('client.payment_methods.index'); } public function paymentView(array $data) { } public function paymentResponse(PaymentResponseRequest $request) { } }