π³ Stripe Payment Setup Guide
Complete guide to set up Stripe Connect for Hustler Hub marketplace payments
1. Go to https://dashboard.stripe.com/register
2. Sign up with your email and business information
3. Complete the business verification (required for payouts)
4. Add your bank account for receiving platform commission (20%)
1. In Stripe Dashboard, go to Settings β Connect
2. Click "Get started with Connect"
3. Choose "Platform or marketplace"
4. Complete the Connect onboarding form
5. Set "Standard" accounts (hustlers control their own accounts)
1. Go to Developers β API keys in Stripe Dashboard
2. You'll see two keys:
Publishable Key
pk_live_51xxxxxxxxxxxxxβ Safe to use in frontend code
Secret Key
sk_live_51xxxxxxxxxxxxxβ οΈ NEVER share or commit to code! Backend only!
1. Go to Base44 Dashboard β Your App β Settings β Environment Variables
2. Add these secrets:
STRIPE_SECRET_KEY
Your Stripe secret key (sk_live_...)
STRIPE_PUBLISHABLE_KEY
Your Stripe publishable key (pk_live_...)
STRIPE_WEBHOOK_SECRET
For webhook verification (we'll set this in Step 6)
1. Use test mode keys first (pk_test_xxx, sk_test_xxx)
2. Test with these card numbers:
4242 4242 4242 42424000 0000 0000 0002Any future expiry date, any CVC, any ZIP code
3. Complete full flow: job post β accept β timer β payment β hustler payout
4. Verify 80/20 split is working correctly
5. Switch to live keys when ready to launch! π
1. Go to Developers β Webhooks in Stripe Dashboard
2. Click "Add endpoint"
3. Add your webhook URL:
https://hustler-hub-230fe1b8.base44.app/functions/stripeWebhook4. Select these events to listen for:
β
payment_intent.succeeded
β
payment_intent.payment_failed
β
account.updated
β
transfer.created
β
payout.paid
5. Copy the Webhook Signing Secret (whsec_xxx)
6. Add it to Base44 environment as STRIPE_WEBHOOK_SECRET
Hustler Creates Profile
They fill out their hustler profile on your app
Click "Setup Stripe"
App generates Stripe Connect onboarding link
Complete Stripe Form
Hustler adds bank account, ID verification (Stripe handles this)
Start Accepting Jobs!
Payments automatically split 80/20, hustler gets paid to their bank
Example: 2 hours @ $50/hr = $100 total
Once you've completed steps 1-6, you're ready to process payments!
β Test with test keys first
β Complete a full job flow end-to-end
β Verify webhooks are receiving events
β Switch to live keys when ready
β Launch and start earning! π