Subscription Model
Polaris offers a tiered subscription system with three main plans:Free
Perfect for getting started with up to 10 projects
Pro Monthly
Unlimited projects billed monthly
Pro Yearly
Unlimited projects with annual billing
Autumn Integration
Polaris uses Autumn as the billing infrastructure, which provides:- Stripe-powered payments: Secure payment processing through Stripe
- Customer portal: Self-service billing management
- Subscription lifecycle: Automatic handling of trials, upgrades, downgrades, and cancellations
- Usage tracking: Real-time project limit enforcement
How It Works
- Authentication: Users authenticate via Stack Auth
- Customer creation: Autumn creates a customer record tied to your Stack Auth user ID
- Subscription sync: Subscription status is synced from Autumn to Convex database
- Access control: Project limits are enforced based on subscription tier
Your Autumn customer ID is automatically linked to your Stack Auth user ID for seamless billing management.
Billing Flow
The billing system follows this flow:Key API Endpoints
| Endpoint | Purpose | Location |
|---|---|---|
/api/autumn/checkout | Create Stripe checkout session | src/app/api/autumn/checkout/route.ts:14 |
/api/autumn/portal | Open billing portal | src/app/api/autumn/portal/route.ts:5 |
/api/autumn/sync | Sync subscription status | src/app/api/autumn/sync/route.ts:84 |
Free vs Pro Tiers
Free Tier
- Projects: 10 projects maximum
- Cost: $0/month
- Status:
free - Ideal for: Personal projects, learning, experimentation
Pro Tiers
Both Pro plans include:- Projects: Unlimited (
projectLimit: -1) - Trial period: 7 days
- Subscription status:
activeortrialing - Ideal for: Professional developers, teams, production projects
During trial period, you get full Pro access with unlimited projects. The trial lasts 7 days from subscription start.
Subscription States
Polaris tracks the following subscription states:| Status | Description | Project Access |
|---|---|---|
free | Free tier user | 10 projects |
trialing | In 7-day trial period | Unlimited |
active | Active paid subscription | Unlimited |
past_due | Payment failed, grace period | Unlimited |
paused | Subscription paused | 10 projects |
canceled | Subscription canceled | 10 projects |
Subscription status is defined in
convex/schema.ts:13-21 and automatically synced from Autumn.Environment Configuration
To enable billing, configure these environment variables:Next Steps
View Plans
Compare features and pricing across all tiers
Manage Subscription
Learn how to upgrade, downgrade, and manage billing