user()->client->getCreditCardGateway(); $data = [ 'gateway' => $gateway, 'token' => false, ]; return $gateway->driver()->authorizeCreditCardView($data); //return view('portal.default.gateways.authorize', $data); } /** * Store a newly created resource in storage. * * @param \Illuminate\Http\Request $request * @return \Illuminate\Http\Response */ public function store(Request $request) { } /** * Display the specified resource. * * @param int $id * @return \Illuminate\Http\Response */ public function show($id) { // } /** * Show the form for editing the specified resource. * * @param int $id * @return \Illuminate\Http\Response */ public function edit($id) { // } /** * Update the specified resource in storage. * * @param \Illuminate\Http\Request $request * @param int $id * @return \Illuminate\Http\Response */ public function update(Request $request, $id) { // } /** * Remove the specified resource from storage. * * @return \Illuminate\Http\Response */ public function destroy() { } }