@extends('layouts.master') @section('page_title', 'Payment Gateways') @section('content')
Online Payment Settings
{!! Qs::getPanelOptions() !!}
@if ($errors->any())
@foreach ($errors->all() as $e)
{{ $e }}
@endforeach
@endif

Switch on the methods your school wants parents and students to see. A method only appears to payers once it is switched on and its details below are filled in. Currently active: {{ $enabled ? implode(', ', array_map(function($m){ return \App\Helpers\OnlinePay::METHODS[$m]; }, $enabled)) : 'none' }}

@csrf @method('PUT')

In your Paystack dashboard → Settings → API Keys & Webhooks, set the Webhook URL to: {{ route('webhooks.paystack') }}


In Flutterwave → Settings → Webhooks, set the URL to {{ route('webhooks.flutterwave') }} and use the same Secret hash as above.


@endsection