Tap to skip

Stripe Integration Setup

Stripe Connected!

Your Stripe API keys are configured. Complete the webhook setup below to start accepting payments.

Your App URL:

https://expanlit.tv

Webhook Configuration

To receive real-time payment updates, you need to configure a webhook in your Stripe dashboard.

Step 1: Go to Stripe Dashboard

Open Stripe Webhooks

Step 2: Add Endpoint

Click "Add endpoint" and use this URL:

https://expanlit.tv/api/functions/stripeWebhook

Step 3: Select Events

Enable these events:

  • • checkout.session.completed
  • • invoice.payment_succeeded
  • • customer.subscription.deleted
  • • payment_intent.payment_failed

Step 4: Get Signing Secret

After creating the webhook, copy the "Signing secret" (starts with whsec_) and add it to your Base44 app secrets as STRIPE_WEBHOOK_SECRET

Payment Flow Summary

  • ✓ All payments go to your ExpanLit Stripe account (not peer-to-peer)
  • ✓ 70% creator share, 30% platform fee tracked automatically
  • ✓ Creators receive payouts every 30 days (manual/automated by you)
  • ✓ Users can tip, subscribe, purchase, or rent videos
  • ✓ Real-time webhook events update access and subscriptions

Testing Payments

Use Stripe test card: 4242 4242 4242 4242

Any future expiry date, any CVC, any ZIP code