Import
Basic usage
- Subscription — Current plan, features, upgrade/downgrade
- Invoices — Payment history with PDF downloads
- Payment — Add, remove, and set default payment methods
- Settings — Update billing information
Props
Display mode:
drawer— Slides in from the rightmodal— Centered overlaypage— Full-page inline view
Controls visibility in
drawer or modal mode.Called when the user closes the portal (drawer/modal mode).
Which tab to show first.
Custom CSS class name.
Load a specific customer’s portal data.
Custom metadata to pass to the portal session.
Called when a subscription is upgraded or downgraded.
Called when a subscription is cancelled.
Called when a new payment method is added.
Called when the default payment method changes.
Enable debug logging.