hasVerifiedEmail()) { return redirect()->route('profile.index')->with('error', "You havent verified your email! Thats required to buy credits."); } //Required Verification for creating an server if (Configuration::getValueByKey('FORCE_DISCORD_VERIFICATION', false) === 'true' && !Auth::user()->discordUser) { return redirect()->route('profile.index')->with('error', "You havent linked an Discord Account to your profile! Thats required to buy credits"); } return view('store.index')->with([ 'products' => PaypalProduct::where('disabled', '=', false)->orderBy('price', 'asc')->get(), 'isPaypalSetup' => $isPaypalSetup ]); } }