@extends('admin.layout') @section('title', 'Settings & payments') @section('content') @php($chk = fn (string $k, string $d = '0') => $s->get($k, $d) === '1')
@csrf

Store details

Payment options

Bank transfer details

Paystack setup

  1. Add PAYSTACK_SECRET_KEY to the .env file on the server (test key first, live key when you go live).
  2. In the Paystack dashboard open Settings, then API Keys & Webhooks. Set the Callback URL to {{ $base }}/pay/callback
  3. Set the Webhook URL to {{ $base }}/api/paystack/webhook
  4. Make a small test payment with a Paystack test card, and check that the order turns to Paid.
@endsection