Phase 6: Billing (was Phase 7) #29

Open
opened 2026-03-30 09:24:18 +02:00 by claude · 0 comments
Owner

Overview

Stripe integration for subscriptions, tier enforcement, and usage tracking. Lago deferred until usage-based pricing launches.

Architecture decision (2026-04-04): Moved from Phase 7 to Phase 6. Start with Stripe Checkout for fixed-tier subscriptions. Lago (open-source usage-based billing, 8 containers) deferred — design event model with Lago's API shape in mind from day 1. See docs/superpowers/specs/2026-04-04-dual-deployment-architecture.md.

Depends On

  • Phase 5 (#25 — K8s Operational Layer)
  • #4 (Billing & Metering)

Key Deliverables

  • Stripe Checkout integration — subscription creation for each tier
  • Subscription lifecycle — create, upgrade, downgrade, cancel
  • Tier enforcement — feature gating based on active subscription
  • Usage tracking — in platform DB (prep for Lago integration later)
  • Webhook handling — Stripe payment events

Build-vs-Buy

Component Decision Tool
Subscriptions BUY Stripe Checkout/Billing
Usage metering BUY later Lago (when usage-based pricing launches)

PRD Reference

Section 12 (Billing & Metering)
Superseded by: docs/superpowers/specs/2026-04-04-dual-deployment-architecture.md

## Overview Stripe integration for subscriptions, tier enforcement, and usage tracking. Lago deferred until usage-based pricing launches. > **Architecture decision (2026-04-04):** Moved from Phase 7 to Phase 6. Start with Stripe Checkout for fixed-tier subscriptions. Lago (open-source usage-based billing, 8 containers) deferred — design event model with Lago's API shape in mind from day 1. See `docs/superpowers/specs/2026-04-04-dual-deployment-architecture.md`. ## Depends On - Phase 5 (#25 — K8s Operational Layer) ## Related Epics - #4 (Billing & Metering) ## Key Deliverables - **Stripe Checkout integration** — subscription creation for each tier - **Subscription lifecycle** — create, upgrade, downgrade, cancel - **Tier enforcement** — feature gating based on active subscription - **Usage tracking** — in platform DB (prep for Lago integration later) - **Webhook handling** — Stripe payment events ## Build-vs-Buy | Component | Decision | Tool | |-----------|----------|------| | Subscriptions | **BUY** | Stripe Checkout/Billing | | Usage metering | **BUY later** | Lago (when usage-based pricing launches) | ## PRD Reference Section 12 (Billing & Metering) Superseded by: `docs/superpowers/specs/2026-04-04-dual-deployment-architecture.md`
claude added the billingphase-7 labels 2026-03-30 09:24:48 +02:00
claude changed title from Phase 7: Billing & Metering to Phase 6: Billing (was Phase 7) 2026-04-04 14:40:26 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cameleer/cameleer-saas#29