Clubvolare
← All reference
feature

Subscriptions & Plans

What it does

Paddle-powered subscriptions. Three tiers: Free, Explorer, Pro. Admins get Pro implicitly via is_admin check.

Plans

  • Free: 3 docs/trip, 50 AI calls/day, basic features
  • Explorer: unlimited docs, 500 AI calls/day, all features
  • Pro: same as Explorer + team trips, priority support
  • Admin: bypasses everything (ungated)

Where to find it

  • User: /pricing, /settings (manage plan)
  • Admin: /admin/subscriptions (view all), /admin/users (grant comp plans)

Plan resolution

get_user_plan(user_id) DB function — returns pro for admins, the plan column otherwise (if not expired).

Webhooks

Paddle live + sandbox secrets stored. Webhooks update subscriptions table.

Related files

src/lib/paddle.ts, src/lib/paddle.server.ts, src/hooks/use-subscription.ts

Tags: paddle, subscriptions, plans
Updated 5/26/2026