Partner Commission Setup
Add partner payouts to your existing Stripe integration
Step 1: Enable Stripe Connect (5 minutes)
Allow CAS-APP to pay commissions to partners
- Go to Stripe Dashboard → Settings → Connect
- Click "Get Started" (if Connect not enabled)
- Choose "Express" accounts
- Platform name: "CAS-APP Partner Program"
- Click "Save" - Done! ✅
Step 2: Test Partner Flow (2 minutes)
Verify everything is working correctly
Step 3: Enable Automated Payouts (Optional)
Schedule monthly commission payments automatically
For now, you can pay partners manually. When you're ready for automation:
- Set up external cron job (EasyCron, cron-job.org)
- Schedule daily:
https://cas-app.base44.workers.dev/scheduledTasks?task=daily_commissions - Schedule monthly:
https://cas-app.base44.workers.dev/scheduledTasks?task=monthly_payouts - Add header:
X-Cron-Secret: [your_secret]
Create Test Partner
Sign up as a partner to test the flow
Full System Test
Run comprehensive partnership tests
Manage Partners
Approve partners and track commissions
1. Partner Signs Up
Partner fills form at /#/PartnerSignup → Gets unique referral code (e.g., ABC123)
2. You Approve Partner
Go to Admin → Partners tab → Click "Approve" → Partner can share their link
3. Partner Shares Link
Partner shares: https://cas-app.com?ref=ABC123 with students
4. Student Subscribes
Referral code tracked automatically → Stored in Stripe metadata → Commission recorded
5. Partner Earns Commission
Bronze (20%): £3.99/month per student
Silver (25%): £4.99/month (after 11 referrals)
Gold (30%): £5.99/month (after 26 referrals)
Platinum (35%): £6.99/month (after 50 referrals)
6. Monthly Payout
On 1st of each month → Partners with £50+ balance → Paid via Stripe Connect