Ability to skip steps in the Checkout Widget
The Stigg Checkout Widget consists of 3 steps - plan configuration, add-on selection and payment method selection.
We've added an ability to skip the plan configuration and add-on selection screens. With this change you can now open the Checkout Widget in the add-on step, which is helpful in upsell experiences using add-ons, or jump directly to the payment method selection screen when no subscription configuration is required by the user.
Skipping the steps is possible by passing the skipCheckoutSteps: ['PLAN', 'ADDONS']
parameter to the checkout provider component.
⚠️ Note that if the plan has multiple billing periods, a preferredBillingPeriod
parameter must be provided in order to skip the plan step. In addition, if the plan has billable features, all of them must be provided in the billableFeatures
input.
Skipping steps in the Checkout Widget is available in the Stigg React SDK from version 5.23.0 or later.