@extends('backend.template.layouts.template-base') @section('title', 'Settings - Payment Settings') @section('content')
@csrf

Payment Settings

{{-- COD --}}
COD?

By Turn On the toggle, you're giving "Cash On Delivery" provision to place order by the Customers. You can Turn Off as per your convenience.

{{-- Razorpay --}} @php $rpStatus = ($settings['razorpay_status'] ?? '0') == '1'; $rpMode = $settings['razorpay_mode'] ?? 'test'; @endphp

Razor Pay

{{ $rpStatus ? 'Enabled' : 'Disabled' }}

{{-- Status --}}
{{-- Mode --}}
{{-- row break --}} {{-- Test Keys --}}

● Test Mode Keys

{{-- Live Keys --}}

● Live Mode Keys

{{-- Webhook --}}

● Webhook (Reconciliation Backstop)

Add this URL in Razorpay Dashboard → Settings → Webhooks, subscribe to the payment.captured event, then paste the generated secret below. Catches payments Razorpay captured where the checkout never reached this server (lost connection, closed app, crash) so they land in Order Failure Logs instead of going untracked.

{{ url('/api/webhooks/razorpay') }}
{{-- Cash Free --}} {{--

Cash Free

Disabled

Cash Free integration coming soon.

--}}
@endsection @section('scripts') @endsection