This article presents possible use cases and corresponding sample flows that you can support. This can be a helpful starting point as you plan your implementation.
Show appropriate UI elements in a custom checkout when a Wix user upgrades their subscription to enable paid ticket sales. This flow helps to respond to changes in premium features that affect ticketing and checkout behavior.
To handle premium feature changes:
siteInfo.premiumFeatures
array in your database for comparison.siteInfo.premiumFeatures
array with your previously stored values to identify changes.SELL_TICKETS
feature is added to premium features:
paymentSettings.activePaymentMethods
for available payment options.paymentSettings.ticketSalesEnabled
is true
.