@extends('admin.layout') @section('title', 'Paystack Integration') @section('content')
Donation checkout: {{ $checkoutAvailable ? 'Available' : 'Unavailable until a valid Paystack secret key and NGN currency are configured.' }}
{{ $webhookUrl }}This performs a read-only Paystack API request. Secret credentials are never displayed.
In Paystack, enable the payment methods you want available to donors in your dashboard, register the exact webhook endpoint above, and enable the charge.success event. This integration requests card, bank, USSD, QR, mobile money, and bank transfer channels; Paystack only displays channels enabled and supported for your account.
After setting PAYSTACK_SECRET_KEY in the server’s .env, run php artisan config:clear (and rebuild cached configuration during deployment if used).