Initiate Checkout

Triggered when the ‘Checkout’ button is clicked.

Properties:

NameTypeDescription
origintextWix App name, i.e Events, Bookings
contentsarrayAll events in cart
contents.nametextEvent name
contents.pricenumberTicket price
contents.currencycurrencyCurrency in ISO-4217 format
contents.varianttextTicket type
contents.quantitynumberNumber of tickets
isPremiumbooleanWhether the Wix site is Premium
userIdtextUser ID
metaSiteIdtextWix site ID

Example:

Copy
Did this help?