@extends('layouts.app') @section('title', 'Payment Gateway Settings') @section('content')

Payment Gateway Settings

{{-- Security Warning Box --}}

Security Warning

API keys and secrets are sensitive credentials. Use them cautiously.

{{-- Form Container --}}
@csrf @method('PUT') {{-- Active Gateway Selection --}}
Active Payment Gateway

Select the primary payment gateway to use for processing donations/orders.

{{-- Stripe Radio --}}
{{-- Till Radio --}}
@error('active_payment_gateway')

{{ $message }}

@enderror
{{-- Stripe Section --}}
Stripe Settings {{-- Status Badge --}} @if (!$settings['stripe_configured']) Incomplete @elseif($settings['active_payment_gateway'] === 'stripe') Active @else Inactive @endif {{-- Stripe Publishable Key --}}

Your Stripe publishable API key.

@error('stripe_key')

{{ $message }}

@enderror
{{-- Stripe Secret Key --}}

Your Stripe secret API key. Leave blank to keep the current value.

@error('stripe_secret')

{{ $message }}

@enderror
{{-- Stripe Webhook Secret --}}

Your Stripe webhook signing secret. Leave blank to keep the current value.

@error('stripe_webhook_secret')

{{ $message }}

@enderror
{{-- Till Payments Section --}}
Till Payments Settings {{-- Status Badge --}} @if (!$settings['till_configured']) Incomplete @elseif($settings['active_payment_gateway'] === 'till') Active @else Inactive @endif {{-- Till Merchant ID --}}
@error('till_merchant_id')

{{ $message }}

@enderror
{{-- Till API Key --}}
@error('till_api_key')

{{ $message }}

@enderror
{{-- Till Secret --}}

Your Till Payments API secret. Leave blank to keep the current value.

@error('till_secret')

{{ $message }}

@enderror
{{-- Till Endpoint URL --}}

The base URL for the Till Payments API (Test or Live).

@error('till_endpoint')

{{ $message }}

@enderror
{{-- Submit Button --}}
{{-- End Form Container --}} @endsection