@extends('admin.layouts.app') @section('title', 'General Settings') @section('styles') @endsection @section('content')
Settings
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
@csrf
Stripe Payment Settings
@php $stripeConfigured = !empty($stripeConfig['key']) && !empty($stripeConfig['secret']); $stripeMode = $stripeConfig['mode'] ?? 'test'; @endphp
{{ $stripeConfigured ? '✅ Configured' : '❌ Not Configured' }} {{ ucfirst($stripeMode) }} Mode @if($stripeMode == 'live') Live mode will process real payments @else Test mode uses test keys (no real payments) @endif
Warning: Switching to Live Mode will process real payments!
Get this from Stripe Dashboard → Developers → API Keys
Keep this secret! Never share or commit to version control.
Get this from Stripe Dashboard → Developers → Webhooks → Your Endpoint → Signing Secret
Endpoint URL: {{ url('/stripe/webhook') }}
Bank Transfer Settings
This will be added before the order number
General Settings
@endsection @push('scripts') @endpush