Polish Give UX: always-on online giving, correct mobile branding, clearer payouts.
Deploy Ladill Give / deploy (push) Successful in 31s
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:
@@ -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.');
|
||||
|
||||
@@ -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,
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user