diff options
| author | Ben Sima <ben@bsima.me> | 2025-11-09 15:45:48 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bsima.me> | 2025-11-09 15:45:48 -0500 |
| commit | baf1ea549ad0218efcfaf489f9fb2ed7b67bf652 (patch) | |
| tree | d3b29471af0e2f6749e67ff1f64f1769350c9621 /Omni/Ide/hoog.sh | |
| parent | fce44e9449c2305e32544c43a9a35a5c423daad3 (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/Ide/hoog.sh')
0 files changed, 0 insertions, 0 deletions
