twisto-checkout-widget

Checkout widget for payment selection.

Step 1: Add this script to the page ⬇️

<script src="https://cdn.twistopay.com/widget/twisto-widget.js" async></script>

Step 2: Insert the widget where you want it to appear ⬇️

Pay in 30 days:

<twisto-checkout-widget product="pay-in-30-days" language="en" ></twisto-checkout-widget>

Pay in 3 — requires amount and currency:

<twisto-checkout-widget product="pay-in-3" amount="AMOUNT" currency="CZK" language="en" ></twisto-checkout-widget>

Always pass the product price to amount.

 

Attributes

AttributeDescriptionTypeDefault value
productTwisto product. Must be: pay-in-30-days or pay-in-3.Stringnull
languageLanguage. Options: cs, en or pl.Stringen
themeTheme. Options: light or dark.Stringlight
siteRedirect target. Can be cz or pl.Stringnull
widthWidget width. Options: auto or full.Stringauto
amountProduct price. Required for pay-in-3.Numbernull
currencyCurrency. Required for pay-in-3. For example, CZK, EUR, PLN, etc.Stringnull

For a full list of available attributes, see How to edit Twisto widgets.

 

Examples

Pay in 30 days

<twisto-checkout-widget product="pay-in-30-days" language="en"></twisto-checkout-widget>

Pay in 3

<twisto-checkout-widget product="pay-in-3" amount="2000" currency="CZK" language="en" ></twisto-checkout-widget>