Manual integration
Either link to our site or load and launch some Javascript that displays our popup or side loader.
Link to our site
This is the most basic option. Just create a link to our servers:
You can add /event/event_id
to directly link to a specific main or sub event:
Optionally you can add two arguments to the query string
murmur
a session_id you assign to this user and orderredirect_url
the URL (https only) the user is redirected to after paymentlang
ISO 639-1 code for UI locale (en/de/nl)
so the request would look something like:
Calendar
Or add /cal
to display a calendar-view of your events:
Optionally add a main event_id to the UR to only get specific events in the calendar:
https://tickets.voordemensen.nl/demo/cal/220
Obviously this all will take the user completely from your site.
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:
For the popup loader add this Javascript to your HTML:
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:
So if you have an event with event_id 95 you can launch the order screen like this:
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