The boilerplate includes a comprehensive admin dashboard for managing subscription plans, monitoring customer subscriptions, and analyzing payment data.
Universal Feature: This admin dashboard works with both Better Auth and Custom Boilerplate payment systems. You can manage all subscriptions and customers from the same interface regardless of how they were created.
Perfect for: Complete business management with plan configuration, customer oversight, revenue tracking, and operational analytics.
Admin Dashboard Overview
The admin dashboard is accessible at /admin/ (requires ADMIN role) and includes specialized sections for payment management:
Location:/admin/plans/
Features:
Create and edit subscription plans
Configure pricing and billing cycles
Set feature limits and restrictions
Manage plan availability
Sync with Stripe products/prices
Plan Configuration:
Monthly/yearly pricing options
Feature toggles and limits
User seat management
Trial period settings
Admin Plans Management Interface:
Plan Limits Configuration:
Location:/admin/subscriptions/
Features:
View all customer subscriptions
Subscription status monitoring
Payment issue resolution
Customer subscription history
Bulk subscription operations
Monitoring Capabilities:
Active/canceled subscription counts
Payment failure alerts
Subscription Monitoring Interface:
Churn analysis
Revenue tracking
Customer Overview:
Customer payment history
Subscription lifecycle tracking
Payment method management
Support ticket integration
Account status management
Customer Actions:
Manual subscription changes
Refund processing
Account suspension/reactivation
Payment retry initiation
User Subscription Management:
Revenue Analytics:
Monthly Recurring Revenue (MRR)
Customer acquisition metrics
Churn analysis
Revenue growth tracking
Plan performance insights
Business Intelligence:
Subscription conversion funnels
Payment success rates
Customer lifetime value
Revenue forecasting
MRR Analytics Dashboard:
Plan Management Interface
Creating Subscription Plans
Plan Creation Process:
1
Basic Plan Information
Configure core plan details:
typescript
// Plan structure (conceptual)interface PlanConfiguration { name: string // "Professional Plan" code: string // "pro-monthly" description: string // Plan description isActive: boolean // Plan availability isRecurring: boolean // One-time vs recurring}
2
Pricing Configuration
Set up pricing structure:
typescript
interface PricingConfiguration { monthlyPrice: number // Monthly subscription price yearlyPrice: number // Annual subscription price currency: string // "USD", "EUR", etc. trialDays: number // Free trial period setupFee?: number // One-time setup cost}
3
Feature Limits
Define plan limitations:
typescript
interface PlanLimits { maxUsers: number // User seat limit maxProjects: number // Project limit maxStorage: number // Storage in GB apiCalls: number // Monthly API call limit features: string[] // Available features}
Complete admin dashboard ready! You have full control over subscription plans, customer management, and payment operations with comprehensive analytics and monitoring tools.