Add Stripe Customer Portal session API for account billing.
Expose POST /api/finance/portal/ so authenticated users can open Stripe's hosted portal for plan changes, payment methods, and cancellations (chat_web_app#33 companion).
This commit is contained in:
@@ -54,6 +54,8 @@ STRIPE_PRICE_ID=
|
||||
FRONTEND_BASE_URL=http://localhost:3000
|
||||
# STRIPE_CHECKOUT_SUCCESS_URL=http://localhost:3000/billing/success?session_id={CHECKOUT_SESSION_ID}
|
||||
# STRIPE_CHECKOUT_CANCEL_URL=http://localhost:3000/billing/cancel
|
||||
# Customer Portal return URL (plan change / cancel / payment method).
|
||||
# STRIPE_PORTAL_RETURN_URL=http://localhost:3000/account/
|
||||
|
||||
# Gunicorn / ASGI
|
||||
GUNICORN_WORKERS=2
|
||||
|
||||
Reference in New Issue
Block a user