Tutorials

Intermediate - 30 minutes

Add a paid upgrade path

Wire Stripe checkouts, configure platform plans, and handle billing webhooks for multi-app subscriptions.

  1. Step 1: Log into your Stripe developer account and create product keys matching the Starter, Studio, and Premium plans.
  2. Step 2: Copy the pricing token keys and set the STRIPE_SECRET_KEY, STRIPE_WEBHOOK_SECRET, and product IDs in your .env.local.
  3. Step 3: Deploy your webhook listener or start local port forwarding using the Stripe CLI to direct events to /api/stripe/webhook.
  4. Step 4: Trigger a test upgrade transaction from the Pricing page to confirm credentials, fulfillment webhooks, and billing limits.
Open the portal dashboard