You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 29 Next »

Context

 NEW V1.11 The world of online ticket sales is shifting from a dedicated single channel towards a multi-channel ecosystem. Starting from today, the long-awaited One-click Purchase Widget is finally available to help you further make such transformation!  This shiny new widget not only offers your online customers a much simplified and frictionless shopping journey but also helps you expand your online sales ecosystem to your partner websites effortlessly


Solution



Getting started

Depending on your use cases with the one-click purchase widget 

  • Native integration with widget code snippet
  • Direct link 



one-click-purchase-example-snippet
<div id="stx-one-click-purchase" style="width:450px"></div>

<script type="text/javascript" src="https://mosa.demo-widgets.secutix.com/stx-widgets/v2/Widgets.js"></script>
<script type="text/javascript">
  STX.Widgets.start({
    apiKey: '43e38c19-718c-4bbe-b08c-abd5e8826996',
    hostname: 'mosa.demo-shop.secutix.com',
      language: 'en',
      widgets: [
        {
          widget: 'OneClickPurchase',
          root: '#stx-one-click-purchase',
          productId: 466677386,
        },]
  });
</script>


Widget ParameterDescriptionExample
srcURL pointing to the source code of the widget library. 

If your ticket shop's URL is mosa.demo-shop.secutix.com, you simply need to replace "shop" with "widgets" and append "stx-widgets/v2/Widgets.js" at the end, like below:

https://mosa.demo-widgets.secutix.com/stx-widgets/v2/Widgets.js

hostnameThe hostname of your ticket shop Point of Sales.mosa.demo-shop.secutix.com
languageThe display language of the one-click purchase widget.en
productId

The ID of the product. If a product family is not supported, we will simply display an error message.

466677386

Supported product families

  • Event
  • Competition
  • Membership
  • Individual Non-guided Visit Pass
  • Timeslot Pass

Configuration points of attention

  • The Point of Sales must support "Credit Card" as a payment method.
  • The Point of Sales must have the "Guest login available" parameter checked.
  • The sales channel must support "Electronic Ticket" as a shipment mode
  • If you are integrating One-click Purchase Widget into a 3rd-party/partner website, the hostname of that partner website must be added to the whitelist of the authorized domains via the Point of Sales >> Gravity tab >> Domain restrictions.

  • No labels