fix: stripe portal dead-end with callback return flow #67
Reference in New Issue
Block a user
Delete Branch "userAdityaa/caravel:portal-deadend"
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
Adds a callback-based return flow for Stripe billing portal sessions by supporting an optional
return_urlin the tenant Stripe session endpoint and forwarding it during portal session creation. The frontend now passes the current page URL when opening the billing portal from both the payment setup modal and account page, ensuring users are redirected back to Caravel after entering or updating card details instead of dead-ending in Stripe.closes #62
e82c45af35to164fff8be2