Billing Admin

🔒 Admin

🔧 Stripe Configuration

SettingStatusDetails
STRIPE_SECRET_KEY MissingSet in .env.local — required for checkout and webhooks
STRIPE_WEBHOOK_SECRET MissingRequired for webhook security
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY MissingPublic key for client-side Stripe.js (future use)

🏷️ Plan Price IDs

PlanPricePrice IDStatus
Starter$149/moSTRIPE_PRICE_STARTER_MONTHLY Missing
Growth$299/moSTRIPE_PRICE_GROWTH_MONTHLY Missing
Pro (Recommended)$499/moSTRIPE_PRICE_PRO_MONTHLY Missing

⏳ Trial & Subscription

SettingValue
Trial Duration7 days
Trial Plan AccessFull Pro features during trial
Pre-Launch CouponPRELAUNCH30 (30% off)
Active Subscriptions0 (pending real Stripe webhook data)
Active Trials0 (pending real subscription creation)
Subscription Events0 (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

TableStatus
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.