home > support > solution library > booking engine > linking to the booking engine > bespoke login

Bespoke login

(Or linking from third party CRM)

If you are looking to maintain a customer database on your own website – but link through to the TourCMS Booking Engine – you can state who the lead customer is.

If you don't have an existing system that you are looking to integrate you may find it much easier to just use the standard customer & agent login functionality.

If you are sticking with this method you will be adding two new parameters to the standard booking engine links:

cid
The customer ID to be used
cidh
A unique hash for the customer ID, see instructions below on how to create this

Generating the hash (cidh)

The cidh value is generated by obtaining an md5 hash of internal customer ID and the legacy API password key. You can set/check your API password key in Configuration & Setup > API > Legacy API. Note: This is a different key to the one used in the TourCMS Marketplace API.

In PHP the cidh value can be calculated as follows:

// TourCMS Customer ID
$cid = 12345;

// Your "Legacy API" password
$API_password = "PASSWORD_HERE";

// Generate the Hash
$cidh = substr(md5($cid.$API_password), 0, 30);

Further notes

Note that secondary customers (other travellers) will still be required to be entered. Existing customer data will be used. If you have configured for travel insurance to be required, this will be asked for during the booking process (as this is booking and customer specific, not just customer specific)

There is a very low chance of data leakage if you state who the customer is when linking to the booking engine. The limit to this data leakage is the customer name (title, first name, middle name, surname) as if the customer is inferred (or logs in) they are told their name within the booking process

[An alternative would be to give a username and password to a customer and require that they login prior to making a booking]

More information

© 2003-2012 Travel UCD Limited. All rights reserved. TourCMS® is a registered trademark of Travel UCD Limited, United Kingdom. View Privacy policy.