Polish Give UX: always-on online giving, correct mobile branding, clearer payouts.
Deploy Ladill Give / deploy (push) Successful in 31s

Remove the redundant accepts-payment toggle, fix the mobile header title, and update payout copy to reflect Ladill Pay and the 9% donation fee.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-09 09:30:39 +00:00
co-authored by Cursor
parent 3eb41fe08e
commit 8edafc5966
11 changed files with 12 additions and 53 deletions
@@ -30,10 +30,6 @@ class GiveDonationService
throw new RuntimeException('This QR is not a giving page.');
}
if (empty($qrCode->content()['accepts_payment'])) {
throw new RuntimeException('Online giving is not enabled for this page.');
}
$items = $data['items'] ?? [];
if (empty($items)) {
throw new RuntimeException('Enter an amount to give.');
+1 -1
View File
@@ -188,7 +188,7 @@ class QrPayloadValidator
'logo_path' => $input['logo_path'] ?? null,
'cover_path' => $input['cover_path'] ?? null,
'org_type' => $orgType,
'accepts_payment' => filter_var($input['accepts_payment'] ?? false, FILTER_VALIDATE_BOOL),
'accepts_payment' => true,
'currency' => 'GHS',
'collection_types' => $collectionTypes,
],