Getting started
The first step in deploying attach modules is to gather all the necessary information for integration. Here’s a list of the details you’ll need.
Get the partnerId and secret key
Expedia will provide this string value that’s used to identify your organization and request parameters. For example: yourbrand_hotel_conf_overlay
. This setting generally doesn’t change once configured.
We’ll also share an alphanumeric string for each partnerId; you’ll use it to generate a signature. This key is 36 characters long and will vary by page. For example:
Page 1:
- partnerId =
yourbrand_hotel_conf_overlay
- secret key =
6f437404-261d-4beb-a7fc-43b92f694831
Page 2:
- partnerId =
partnername_hotel_itin_overlay
- secret key =
89f37407-821r-3des-a7f5-ghb92f694294
Set language and currency
The languages in which your site will display and the currency of the displayed prices can be set by point of sale. For example:
For www.YourBrand.com:
- Locale 1: Language (English): en_US, currency: USD
- Locale 2: Language (Spanish): es_MX, currency: USD
For www.YourBrand.ca:
- Locale 1: Language (English): en_CA, currency: CAD
- Locale 2: Language (French): fr_CA, currency: CAD
Note: Only languages and currencies supported by White Label Template should be included.
Generate encryption
We use the HMAC-SHA1 algorithm library from Apache Commons to generate the encryption signature.
Encode URL parameters
Encoding your URLs converts unsafe characters into a format that can be securely transmitted. All parameter values should be UTF-8 percent-encoded.
Choose the module type
You can determine where and how you want the module to display, as an overlay window or embedded within the page structure via an iframe. See Integrate modules into your pages for more information.