Strip Mini checkout to amount-only and use vendor email for Paystack.
Deploy Ladill Mini / deploy (push) Successful in 30s

Customers enter an amount and tap Pay; the merchant's account email (or notifications email from settings) is passed to Paystack instead of asking the payer for details.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-07 20:22:16 +00:00
co-authored by Cursor
parent 52065b1ac1
commit f0bf96b438
5 changed files with 36 additions and 52 deletions
+1 -1
View File
@@ -37,7 +37,7 @@
@foreach($recentPayments as $payment)
<div class="flex items-center justify-between px-6 py-4">
<div>
<p class="font-medium text-slate-900">{{ $payment->payer_name ?: 'Customer' }}</p>
<p class="font-medium text-slate-900">{{ $payment->payer_name ?: 'Walk-in customer' }}</p>
<p class="text-xs text-slate-500">{{ $payment->qrCode?->label }} · {{ $payment->paid_at?->diffForHumans() }}</p>
</div>
<span class="text-sm font-semibold text-emerald-700">{{ $fmt($payment->merchant_amount_minor) }}</span>
+4 -2
View File
@@ -27,8 +27,10 @@
<tr>
<td class="px-6 py-4 text-slate-600">{{ $payment->paid_at?->format('M j, g:i A') ?? $payment->created_at->format('M j, g:i A') }}</td>
<td class="px-6 py-4">
<p class="font-medium text-slate-900">{{ $payment->payer_name ?: '' }}</p>
<p class="text-xs text-slate-500">{{ $payment->payer_email }}</p>
<p class="font-medium text-slate-900">{{ $payment->payer_name ?: 'Walk-in customer' }}</p>
@if($payment->payer_email)
<p class="text-xs text-slate-500">{{ $payment->payer_email }}</p>
@endif
</td>
<td class="px-6 py-4 text-slate-600">{{ $payment->qrCode?->label }}</td>
<td class="px-6 py-4 text-slate-500">{{ $payment->payer_note ?: '—' }}</td>