The Events Settings API allows you to configure and read global event settings for sites. The settings include information about the service fees, payment settings, premium features and so on.
You can use this API to display appropriate UI elements in a custom checkout. For example, based on the Wix Events & Tickets app settings you could add available payment methods or gift card redeem options.
With the Events Settings API, you can:
- Read the current Wix Events & Tickets app settings.
- Enable or disable the delayed payment capture.
It's important to note the following points before starting to code:
- A Wix user must install the Wix Events & Tickets app.
- The API provides most settings as read-only. You can only update specific payment-related settings directly through the API.
Handle premium feature upgrades
- Premium Features: Advanced capabilities like paid ticket sales that require premium site subscriptions. Examples include
SELL_TICKETS
, INCLUDE_URL_IN_EMAIL
, and HIDE_FOOTER_IN_EMAIL
.
- Payment Settings: Available payment methods, coupon acceptance, and delayed capture configuration. These settings control the checkout experience for ticket purchases.
- Site Settings: User-configurable preferences like page paths and initial setup completion status.
- Delayed Payment Capture: Feature that authorizes payments at purchase time but captures (charges) them later.
- Service Fee Settings: Configuration for Wix service fees applied to paid ticket sales. Fee application varies based on site creation date and agreement status.