@extends('layouts.app') @section('title', 'Platform Settings') @section('page-title', 'Platform Settings') @section('breadcrumb', 'Platform Admin / Settings') @section('content') @php $tab = request('tab', 'general'); @endphp
General Payment / Razorpay Google Login
@if(session('success'))
{{ session('success') }}
@endif @if($tab === 'general')
@csrf @method('PUT') @endif @if($tab === 'payment')
@csrf @method('PUT')
Add your Razorpay Key ID and Secret so students can pay for paid courses on the website. Use test keys for local testing and live keys in production.
@endif @if($tab === 'google')
@csrf @method('PUT')

Create OAuth credentials in Google Cloud Console (OAuth 2.0 Client ID → Web application).

Add this Authorized redirect URI:

{{ $oauth['redirect_uri'] }}

Status: @if($oauth['is_configured']) Configured @else Not configured — Google buttons stay disabled until keys are saved @endif

@if($oauth['google_client_secret'])

A secret is already saved. Leave blank to keep it unchanged.

@endif
@endif
@endsection