feat: configurable plans, MP payment notifications and onboarding language selector #15
Reference in New Issue
Block a user
No description provided.
Delete Branch "development"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
docker-compose./admin/plans): plan limits and Pro prices per country now live in the database (plan_configs,plan_prices, seeded with the previous constants) and are read throughPlanCatalog. Admins can change limits (seeing how many accounts would become read-only) and prices, optionally pushing the new price to live subscriptions from their next charge (MP preapproval amount / Stripe item without proration) with an email and a notice on/billing.GET /billing/returnonAPI_PUBLIC_URL(MP refuses aback_urlon localhost).BETTER_AUTH_URLto find the session, requires the session to own thestate, and redirects instead of answering JSON on unexpected errors.auto_returnoff public HTTPS and carry anotification_urltoPOST /payments/webhooks/mp/:paymentId, which confirms the payment with the owner's token (same rule as the polling job, kept as fallback). The search now prefers the approved attempt.Deploy notes
20261110214656_configurable_plans(seeds current limits and prices, so nothing changes on deploy).API_PUBLIC_URL(defaults toBETTER_AUTH_URL, already the public domain in the compose).TOKEN_ENCRYPTION_KEYmust be base64 of 32 bytes (openssl rand -base64 32).Test plan
bun run typecheck,bun run lint, backend tests (537 pass)/admin/planschanges in a staging environment🤖 Generated with Claude Code
Language selector on onboarding screento feat: configurable plans, MP payment notifications and onboarding language selector