Skip to main content

Ticket Subscriptions

Adding Ticket Subscriptions to the basket

We have a pre-built web page which can be embedded as Iframe on the client’s website. Ticket Subscriptions are not available via the API yet.

The new iframe to be embedded is https://{{customdomain}}/{{clientname}}/website/TicketSubscriptions - this will load up all ticket subscriptions set up to be on sale in the web, with the pricing sets listed below each subscription.

You can embed this page on the client’s website in the same way as all other iframes. So the code would look like:

<iframe
name="SpektrixIFrame"
id="SpektrixIFrame"
frameborder="0"
src="https://{{customdomain}}/{{clientname}}/website/TicketSubscriptions?resize=true"
style="width: 100%; height: 1000px;"
>
</iframe>

where customdomain should be replaced with the client's custom domain and clientname with the client’s clientname; this is the same across all iframes.

When a customer selects a Ticket Subscription and continues to the basket/cart, the parent website URL does not change to the basket/cart URL, but instead remains on the Ticket Subscriptions URL. This is in line with the other iframes’ behaviour, such as chooseseats.aspx. The basket URL would appear only if there is a basket URL set in the Website Admin interface, used for API powered basket pages. However please note that Ticket Subscriptions are not available in the API yet, so do not attempt to use an API powered basket if the client uses Ticket Subscriptions.

Filtering Options

You can filter the page down to a specific subscription or set of subscriptions using a WebID URL parameter: https://{{customdomain}}/{{clientname}}/website/TicketSubscriptions?WebID={{web ID}}

The web ID is set up in the Spektrix Admin interface under Ticket Subscriptions. Unlike other Spektrix WebIDs, this does not have to be unique per Ticket Subscription, so it can be used to display multiple subscriptions together.

You can also exclude specific pricing sets from being available to the customer, by ticking the "Hidden on Web" option on the Pricing Set within the set up of the Ticket Subscription in Spektrix. You can ask the client to set this up for you, if you don’t have access to that part of the Spektrix system.

Showing purchased ticket subscriptions

The client must enable ‘Display the Ticket Subscriptions section on your website's "My Account" page’ in Settings interface > Configuration > Website. A new screen under My Account will automatically appear.

Styling

The subscriptions iframe should pick up existing styling.

Mentions of ticket subscriptions in the existing cart and checkout iframes should pick up existing styling.

Once the customer purchases a subscription, it will be listed under the screen Ticket Subscriptions in the secure iframe myaccount.aspx. You will need to style the list of subscriptions using the available classes, as these do not pick up existing styling. The rest of the screen should pick up existing styling.