Manual integration

Either link to our site or load and launch some Javascript that displays our popup or side loader.

This is the most basic option. Just create a link to our servers:

<a href="https://tickets.voordemensen.nl/demo/">Tickets</a>

You can add /event/event_id to directly link to a specific main or sub event:

<a href="https://tickets.voordemensen.nl/demo/event/95">Tickets for our Demo event</a>

Optionally you can add two arguments to the query string

  • murmur a session_id you assign to this user and order

  • redirect_url the URL (https only) the user is redirected to after payment

  • lang ISO 639-1 code for UI locale (en/de/nl)

so the request would look something like:

https://tickets.voordemensen.nl/demo/event/95?murmur=dsfksduf93&redirect_url=https://yoursite.nl/thanks/

Calendar

Or add /cal to display a calendar-view of your events:

<a href="https://tickets.voordemensen.nl/demo/cal">Calendar</a>

Optionally add a main event_id to the UR to only get specific events in the calendar:

https://tickets.voordemensen.nl/demo/cal/220

Javascript front or side loader

You can keep the user on your site with our popup or side loader. First you load some Javascript from our site, then call a Javascript-function to activate.

For the side loader add this Javascript to your HTML:

<script src="https://tickets.voordemensen.nl/client_name/event/vdm_sideloader.js"></script>

For the popup loader add this Javascript to your HTML:

<script src="https://tickets.voordemensen.nl/client_name/event/vdm_loader.js"></script>

Don't forget to replace "client_name" in the above line to your client_name, for example: brakkegrond.

Now you can invoke the functions in the script:

vdm_order(order_id)
vdm_calendar()

So if you have an event with event_id 95 you can launch the order screen like this:

<a href="javascript:vdm_order(95)">Order now</a>

Optionally you can add a session_id, an ISO 639-1 language code and the redirect_url to the vdm_order function, this will smooth the user-experience in case of cross-domain-cookie/session difficulties. If your site runs PHP it could look like this:

vdm_order(95,'<?=session_id()?>','en','https://yoursite.com/')

Last updated