Amadeus
Amadeus hotels for PHPTRAVELS: connect your Amadeus account to the stays module, enter API credentials, set markups and test hotel search and booking.
Amadeus hotels in PHPTRAVELS
Amadeus is a global travel distribution system that supplies flight and hotel content through APIs. In the PHPTRAVELS Stays module, Amadeus is one hotel supplier among several: its rooms are merged into the same guest search as your own hotels and other APIs, and your markup is added before the price is shown. Amadeus flights are configured separately under Flights.
What you need
An Amadeus account with hotel API access approved for your business. Amadeus decides access and commercial terms.
The API credentials from your Amadeus account (typically a client ID and client secret), with test keys for setup and production keys once Amadeus approves you. The Amadeus Enterprise guide shows how Amadeus apps and keys are created.
Admin access to your PHPTRAVELS website.
Set it up
Log in at
yourdomain.com/admin.Go to Settings > Modules and open the Amadeus entry for stays.
On General, enable the module and keep Dev mode on development for testing.
On Credentials, enter your Amadeus keys in the labelled fields. Click Test if it is shown, then save.
Add your B2C and B2B margin on the Markup tab.
Test it
Search hotels in a large city for dates a few weeks out.
Check that Amadeus rooms appear with board type and cancellation rules.
Make a test booking with the test keys and confirm the voucher and supplier reference.
Replace the keys with production ones and switch Dev mode to production only when the test booking is correct.
Common errors
Invalid client or token error -- the key and secret do not match, or test keys are being used in production mode.
No hotel results -- the hotel API is not active on your Amadeus app, or the city has no Amadeus availability for those dates.
Rate not available -- the room sold out between search and booking; search again.
Questions? Submit a ticket with your Order ID and the error text.
Last updated
Was this helpful?

