Note
This component is only intended for use with bootstrap.ts.
- This component extends the Slide.preset component.
- It overrides the default behavior of the MainButton inside the Slide.preset component.
- It manages the MainButton with its own logic, including:
- Translating the mainButtonText.
- Replacing {price} inside the mainButtonText.
- Displaying a popup with the payment method.
- Tracking the selected product.
- If a product isn't selected, the MainButton won't be displayed
- It renders Link.
- It sends data to the bot when the payment method is selected.
All available props see in PrimitivePaywall.props.ts