@extends('layouts.app') @section('title', 'Pengaturan') @section('content')

Pengaturan Pembayaran & WhatsApp

Konfigurasi Midtrans (sandbox / production) dan nomor WhatsApp toko.

@if (session('success'))
{{ session('success') }}
@endif @if ($errors->any())
@endif
@csrf {{-- MIDTRANS --}}

Midtrans Payment Gateway

{{-- Mode toggle --}}
Mode Midtrans *
{{ ($settings['midtrans_mode'] ?? 'sandbox') === 'production' ? 'Production' : 'Sandbox' }} {{ ($settings['midtrans_mode'] ?? 'sandbox') === 'production' ? 'Live — transaksi nyata dengan dana sungguhan.' : 'Testing — transaksi tidak dikenakan biaya nyata.' }}
{{-- Sandbox keys --}}

Sandbox Keys

Sandbox Server Key Dashboard Midtrans → Settings → Server Key (sandbox).
Sandbox Client Key Dashboard Midtrans → Settings → Client Key (sandbox).
{{-- Production keys --}}

Production Keys

Production Server Key Dashboard Midtrans → Settings → Server Key (production).
Production Client Key Dashboard Midtrans → Settings → Client Key (production).
{{-- WHATSAPP --}}

WhatsApp

Nomor WhatsApp Format internasional tanpa +. Contoh: 6281234567890
Pesan Default WhatsApp
{{-- SITE IDENTITY --}}

Identitas Website

Judul Website Digunakan di tag <title> dan halaman.
Tagline Website Tampilan brand di header/footer.
Favicon Maksimal 2 MB. Format PNG / ICO / JPG / WebP (SVG tidak didukung). Hasil disimpan sebagai PNG terkompresi (maks. 512 px) di storage/app/public/images/favicon. @if(!empty($settings['site_favicon']))
favicon {{ $settings['site_favicon'] }}
@endif
Logo Website Maksimal 10 MB. Format PNG / JPG / WebP (SVG tidak didukung) — otomatis dikonversi ke WebP seperti gambar lainnya. @if(!empty($settings['site_logo']))
logo {{ $settings['site_logo'] }}
@endif
@endsection @push('head') @include('admin.partials.track-styles') @endpush @push('scripts') @endpush