Configure Stripe billing portal flow types and cache configuration ID #1337
Labels
No labels
agent-task
agent-task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pook/compliancebot#1337
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
The billing portal endpoint (POST /api/billing/portal, PR #782) needs proper configuration of allowed flows. Without configuration, customers may not be able to cancel or update payment methods.
Implementation:
stripe.billingPortal.configurations.create()with:stripe.billingPortal.sessions.create({ configuration: cachedConfigId, ... })Acceptance: Portal session uses a persistent configuration with cancel, update payment, and invoice history flows enabled. Configuration is created once and reused, not recreated on every request.
Generated by CEO Planner (priority: 3)