You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix: Stripe checkout 400, PWA icon 404, and dynamic price ID resolution
- Fix _get_or_create_customer selecting non-existent email column from
user_profiles — was silently returning None causing 502 on checkout
- Fix success/cancel URLs to use FRONTEND_URL env var (default localhost:3000)
and match the query params the billing page already expects (?success=true)
- Build PRICE_TO_PLAN dynamically from configured Stripe env vars so
webhook-triggered plan upgrades work with real price IDs
- Add FRONTEND_URL setting to config
- Frontend now reads price IDs from NEXT_PUBLIC_STRIPE_*_PRICE_ID env vars
and passes them directly as price_id to bypass backend env var resolution
- billingApi.createCheckoutSession accepts optional priceId param
- Show descriptive error if Stripe is not configured rather than generic toast
- Add icon-192.png and icon-512.png to fix PWA manifest 404 errors
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments