Skip to main content

SubscriptionPlanConfig

Configuration for subscription plan behavior SubscriptionPlan.

Properties

doNotStartSubscriptionAndRedirect

doNotStartSubscriptionAndRedirect: boolean

If true, blocks immediate subscription creation and redirects the user to redirectUrl, so that the subscription can be started later


excludePricingIds?

optional excludePricingIds: string[]

List of pricing Ids that should be excluded from available subscription options.


redirectUrl?

optional redirectUrl: string

URL to redirect the user to when subscription creation is blocked.