From 79b1c043c096994523a7fa6582f9047006b6eb27 Mon Sep 17 00:00:00 2001 From: isaacclad Date: Thu, 11 Jun 2026 19:32:23 +0000 Subject: [PATCH] Lower donation platform fee from 9% to 5%. Update settlement logic and in-app copy to match the new Ladill Pay donations tier. Co-authored-by: Cursor --- DEPLOY.md | 6 +++--- app/Models/GiveDonation.php | 2 +- app/Services/Afia/AfiaService.php | 2 +- resources/views/give/payouts.blade.php | 2 +- resources/views/partials/afia.blade.php | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/DEPLOY.md b/DEPLOY.md index 93de606..c2278ee 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -2,7 +2,7 @@ Standalone app for **online giving pages** at `give.ladill.com` — branded donation pages with collection categories (Offering, Tithe, Building Fund…). Donations -settle into the one platform UserWallet (9% fee), then withdraw via +settle into the one platform UserWallet (5% fee), then withdraw via `account.ladill.com`. Public scans stay at `ladill.com/q/` (blueprint decision — printed codes @@ -24,7 +24,7 @@ main app DB user. |---|---| | `LADILL_SSO_CLIENT_ID` / `LADILL_SSO_CLIENT_SECRET` | `passport:client` on platform | | `BILLING_API_KEY_GIVE` | platform `.env` + this app | -| `PAY_API_KEY_GIVE` | platform `.env` + this app — Ladill Pay checkout (9% donations tier) | +| `PAY_API_KEY_GIVE` | platform `.env` + this app — Ladill Pay checkout (5% donations tier) | | `IDENTITY_API_KEY_GIVE` | platform `.env` + this app | | `PLATFORM_DB_*` | read `ladilldb.platform_settings` (Paystack keys from admin → Billing) | @@ -84,7 +84,7 @@ php artisan config:cache route:cache view:cache - SSO login at `give.ladill.com` - Create a giving page, download QR PNG -- Scan `/q/`, give test amount, confirm wallet credit (net of 9%) +- Scan `/q/`, give test amount, confirm wallet credit (net of 5%) - Withdraw from `account.ladill.com/wallet` ## Product IA (blueprint) diff --git a/app/Models/GiveDonation.php b/app/Models/GiveDonation.php index b99cd96..60914b6 100644 --- a/app/Models/GiveDonation.php +++ b/app/Models/GiveDonation.php @@ -12,7 +12,7 @@ class GiveDonation extends Model public const STATUS_FAILED = 'failed'; /** Platform fee on donations (Ladill Give tier). */ - public const PLATFORM_FEE_RATE = 0.09; + public const PLATFORM_FEE_RATE = 0.05; protected $fillable = [ 'pay_order_id', diff --git a/app/Services/Afia/AfiaService.php b/app/Services/Afia/AfiaService.php index 9783cb8..1d984d8 100644 --- a/app/Services/Afia/AfiaService.php +++ b/app/Services/Afia/AfiaService.php @@ -102,7 +102,7 @@ class AfiaService - Giving pages: create and manage donation pages — set a title, description, suggested amounts, and cover image, then publish and share the page link or QR. - Donations: incoming donations from your pages — view donors, amounts, and messages. - Payouts: donated funds land in your Ladill wallet; request a withdrawal to your bank or mobile money from Payouts. - - Fees: Ladill takes a 9% platform fee on donations; the remainder is yours. + - Fees: Ladill takes a 5% platform fee on donations; the remainder is yours. - Account & Wallet: check balance or top up at account.ladill.com/wallet. Rules: diff --git a/resources/views/give/payouts.blade.php b/resources/views/give/payouts.blade.php index 9e3439e..caf8cc5 100644 --- a/resources/views/give/payouts.blade.php +++ b/resources/views/give/payouts.blade.php @@ -4,7 +4,7 @@

Payouts

-

Donations settle into your Ladill wallet (9% fee), then withdraw to bank or MoMo.

+

Donations settle into your Ladill wallet (5% fee), then withdraw to bank or MoMo.

diff --git a/resources/views/partials/afia.blade.php b/resources/views/partials/afia.blade.php index fef7778..eb4c970 100644 --- a/resources/views/partials/afia.blade.php +++ b/resources/views/partials/afia.blade.php @@ -1,5 +1,5 @@ @php - $afiaGreeting = "Hi, I'm Afia 👋 Ask me about giving pages — creating one, accepting donations, payouts, or the 9% platform fee…"; + $afiaGreeting = "Hi, I'm Afia 👋 Ask me about giving pages — creating one, accepting donations, payouts, or the 5% platform fee…"; $afiaSuggestions = [ 'How do I create a giving page?', 'How do supporters give online?',