@error('name'){{ $message }}@enderror
@error('description'){{ $message }}@enderror
@php $config = $method->config ?? []; @endphp
@if ($method->code === 'mpesa')
Paybill / Till display
Daraja API — STK Push credentials
From your Daraja app. Save first, then use Test connection below.
@error('mpesa')
{{ $message }}
@enderror
@endif
@if ($method->code === 'bank')
@endif
@if ($method->code === 'coop')
Co-op Bank Tuma API — STK Push credentials
From your Tuma merchant account. Save first, then use Test connection below. Endpoint paths are editable in case Tuma revises them.
@error('coop')
{{ $message }}
@enderror
@foreach(['token_path' => 'Token path', 'stk_path' => 'STK path', 'query_path' => 'Query path'] as $key => $label)
@endforeach
@endif
@if ($method->code === 'cheque')
@endif
@if (in_array($method->code, ['cash', 'card', 'bank', 'mpesa', 'coop']))
@endif