fix: stripe portal dead-end with callback return flow #67

Merged
hodlbod merged 1 commits from userAdityaa/caravel:portal-deadend into master 2026-05-11 20:48:55 +00:00
Contributor

Summary

Adds a callback-based return flow for Stripe billing portal sessions by supporting an optional return_url in 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

### Summary Adds a callback-based return flow for Stripe billing portal sessions by supporting an optional `return_url` in 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
hodlbod added 1 commit 2026-05-11 20:48:50 +00:00
hodlbod force-pushed portal-deadend from e82c45af35 to 164fff8be2 2026-05-11 20:48:50 +00:00 Compare
hodlbod merged commit e7efd9d08b into master 2026-05-11 20:48:55 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: coracle/caravel#67