summaryrefslogtreecommitdiff
path: root/Omni/Bild/Example.py
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2025-11-09 15:45:48 -0500
committerBen Sima <ben@bsima.me>2025-11-09 15:45:48 -0500
commitbaf1ea549ad0218efcfaf489f9fb2ed7b67bf652 (patch)
treed3b29471af0e2f6749e67ff1f64f1769350c9621 /Omni/Bild/Example.py
parentfce44e9449c2305e32544c43a9a35a5c423daad3 (diff)
feat(PodcastItLater): Add Stripe billing infrastructure
Add complete Stripe integration backend ready for testing once stripe package is available in Nix environment. Components: - Billing.py: Stripe Checkout, Billing Portal, webhook handling - Database migrations for subscription tracking - Usage tracking with tier-based limits - Idempotent webhook processing with stripe_events table Tier limits: free (10/mo), personal (50/mo), pro (unlimited) Webhook events handled: - checkout.session.completed (link customer to user) - customer.subscription.{created,updated,deleted} (sync state) - invoice.payment_failed (mark past_due) Requires: Stripe Python package in Nix, Web.py routes (next commit) Related to task t-144e7lF Amp-Thread-ID: https://ampcode.com/threads/T-8feaca83-dcc2-46cb-8f71-d0785960a2f7 Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'Omni/Bild/Example.py')
0 files changed, 0 insertions, 0 deletions