💳 Billing Administration
Stripe configuration, webhook status, and subscription management.
🔧 Stripe Configuration
| Setting | Status | Details |
|---|---|---|
| STRIPE_SECRET_KEY | ◎ Missing | Set in .env.local — required for checkout and webhooks |
| STRIPE_WEBHOOK_SECRET | ◎ Missing | Required for webhook security |
| NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY | ◎ Missing | Public key for client-side Stripe.js (future use) |
🏷️ Plan Price IDs
| Plan | Price | Price ID | Status |
|---|---|---|---|
| Starter | $149/mo | STRIPE_PRICE_STARTER_MONTHLY | ◎ Missing |
| Growth | $299/mo | STRIPE_PRICE_GROWTH_MONTHLY | ◎ Missing |
| Pro (Recommended) | $499/mo | STRIPE_PRICE_PRO_MONTHLY | ◎ Missing |
⏳ Trial & Subscription
| Setting | Value |
|---|---|
| Trial Duration | 7 days |
| Trial Plan Access | Full Pro features during trial |
| Pre-Launch Coupon | PRELAUNCH30 (30% off) |
| Active Subscriptions | 0 (pending real Stripe webhook data) |
| Active Trials | 0 (pending real subscription creation) |
| Subscription Events | 0 (pending database persistence) |
📡 Webhook Event Handling
The webhook endpoint at /api/stripe/webhook handles these 8 event types:
checkout.session.completedcustomer.subscription.createdcustomer.subscription.updatedcustomer.subscription.deletedcustomer.subscription.trial_will_endinvoice.paidinvoice.payment_failedinvoice.payment_succeeded
◎ Pending Webhook Secret Configuration
🗄️ Database Persistence
| Table | Status |
|---|---|
| stripe_customers | ◉ Ready |
| subscriptions | ◉ Ready |
| subscription_events | ◉ Ready |
| checkout_sessions | ◉ Ready |
| trial_status | ◉ Ready |
| invoices | ◉ Ready |
Status Summary: STRIPE_SECRET_KEY not configured. Set it in .env.local to enable billing.
No fake subscriptions, no fake revenue, no fake customer data. Real subscription status depends on actual Stripe webhook events and database persistence.