The boilerplate provides a comprehensive subscription management interface for users to handle their subscriptions, change plans, manage billing, and view usage limits.
Universal Feature: This subscription management interface works with both Better Auth and Custom Boilerplate payment systems. Users get the same management experience regardless of how they initially signed up.
Perfect for: Self-service subscription management that reduces support tickets and empowers users to control their billing and plan features.
The subscription management is located at /account/billing/subscription/ and provides a complete self-service experience:
Users can view their current subscription status with:
Plan Information Display:
Visual indicators:
User Subscription Dashboard:

Upgrade Process:
Downgrade Process:
// Plan change flow (conceptual structure)
interface PlanChangeOptions {
newPlanId: string
immediate: boolean // true for upgrades, false for downgrades
prorationBehavior: 'create_prorations' | 'none'
billingCycleAnchor?: 'now' | 'unchanged'
}Cancellation Options:
Immediate Effect:
Use cases:
Reactivation Flow:
Reactivation Benefits:
For team/organization subscriptions:
Seat Management Features:
Member Management:
Team Billing Options:
Payment Method Features:
Supported Cards:
Security Features:
Invoice Features:
Metered Billing Support:
Automatic Emails for:
Dashboard Alerts:
Temporary Suspension:
Gift Subscriptions:
Smart Suggestions:
Check Subscription Status:
// Example API structure for subscription status
interface SubscriptionStatus {
active: boolean
planId: string
currentPeriodEnd: Date
cancelAtPeriodEnd: boolean
usage: {
[feature: string]: {
current: number
limit: number
percentage: number
}
}
}Subscription Events:
/account/billing/subscription/Self-service subscription management ready! Users can now fully manage their subscriptions, reducing support burden and increasing user satisfaction.