Self-Serve Portal Defaults
Pack:
stripeParent skill: Stripe Customer Portal Defaults Source:stripe/stripe-customer-portal-defaults/references/self-serve-portal-defaults.mdDefault customer-portal stance:
- use the portal first
- configure capabilities in Stripe
- launch sessions from your app
- reconcile results with webhooks
Good default capabilities:
- update payment methods
- view invoices and billing history
- upgrade or downgrade within an approved catalog
- cancel or schedule cancellation
Session creation default:
- authenticate the user in your app
- resolve the correct Stripe customer ID
- create the portal session on the server
- redirect to the returned short-lived URL
- handle resulting changes through webhooks
Good reasons to customize beyond the default:
- the app needs workflows the portal cannot express
- different customer segments need materially different configurations
- the product needs deep links into specific portal actions