Strip Mini checkout to amount-only and use vendor email for Paystack.
Deploy Ladill Mini / deploy (push) Successful in 30s
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:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user