managarten/services/mana-core-auth/src/db
Till-JS ae30ce3323 feat(auth): add Stripe credit purchases and subscription management
- Add StripeService for PaymentIntent creation and webhook verification
- Add credit purchase flow (POST /credits/purchase)
- Add stripe_customers table for Stripe customer mapping
- Add subscriptions schema (plans, subscriptions, invoices)
- Add SubscriptionsService with Checkout, Portal, Cancel, Reactivate
- Add subscription plans (Free: 150 Mana, Pro: €9.99, Enterprise: €49.99)
- Handle subscription and invoice webhooks
- Update roadmap with completed tasks

Credit pricing: 1 Mana = 1 Cent (no volume discounts)
2026-02-13 22:21:23 +01:00
..
schema feat(auth): add Stripe credit purchases and subscription management 2026-02-13 22:21:23 +01:00
seeds fix(mana-core-auth): use correct property name 'redirectUrls' for Better Auth 2026-01-30 18:22:06 +01:00
connection.ts style: auto-format codebase with Prettier 2025-11-27 18:33:16 +01:00
migrate.ts feat(db): add production-safe migration system with advisory locks 2025-12-09 02:13:11 +01:00
seed-dev-user.ts fix(seed): use simple password for test user (encoding issues with special chars) 2026-02-01 05:13:42 +01:00