Selecting Hotels for Test Bookings

Follow these guidelines when searching for properties for your test bookings, even for static tests. Being diligent in your property selection will help you avoid incurring any accidental charges during your booking tests.

  • Verify the booking will be outside of the hotel's cancellation policy
    • Never pick next-day or same-day availabilities, even to test promos
    • Shop a few months ahead whenver possible
  • Never book rooms where nonRefundable returns true, even for static tests
  • Never automate static booking tests - we may flag or temporarily disable your account

Shopping at least a few months ahead and paying attention to nonRefundable flags will help you avoid the most common problems with test bookings. Remember, EAN is not responsible for any unintentional live or nonrefundable bookings you place during testing.

Static Test Bookings

A static test allows you to check your integration against EAN's API core, but without the request reaching the hotel supplier level. No live reservation record is created. Static tests are recommended over live tests for most scenarios in development.

Static test bookings have the following in common:

  • Triggered by special travelnow address value and test card data
  • The confirmationNumber in the booking response will always be 1234 (proceeding to 1235, etc. for additional rooms)
  • Reservation details never reach EAN's live booking databases or the property in question
Creating Static Test Bookings
  1. Search for stays at least 60 – 90 days into the future.
  2. Select rooms without any outside-policy cancellation penalties (see second example here)
  3. Verify the room does not have a true nonRefundable flag
  4. Enter the value travelnow
  5. Use the correct test credit card data for the chosen hotel's supplier. These credit card numbers are intended for testing use only. Do not use them for any purpose other than creating static test bookings.

For Expedia Collect Static Tests:

  • firstName: Test Booking
  • lastName: Test Booking
  • creditCardType: CA (MasterCard)
  • creditCardNumber: 5401999999999999
  • creditCardIdentifier: 123
  • creditCardExpirationMonth and creditCardExpirationYear: Any date after the reservation
  • address1: travelnow (must be lowercase)

Remember to remove any instances of the travelnow value before you launch your site. Otherwise static bookings can continue to be created, regardless if they are made using a beta or live CID/API key pair.

Should a customer unknowingly create a static booking after your site launch, their reservation will not be considered valid in any EAN support systems.

Cancelling Static Test Bookings

If desired, test bookings can also be cancelled, though it is not necessary to do so. Test bookings are cancelled using the same procedures as live bookings. Responses for static test booking cancellations will return the same response as a live booking cancellation.

 

Live Test Bookings

Live tests are simply standard live bookings made with a real credit card that are cancelled after confirmation. It is your responsibility to select acceptable candidate properties and to cancel your own tests. We recommend live tests only for the very final stages of pre-launch development.

EAN is not responsible for any charges incurred from bookings made inside of a hotel's cancellation policy or by booking a nonrefundable room. Please follow the procedures below to help avoid any issues.

Placing Live Test Bookings
  1. Search for stays at least 60 – 90 days into the future.
  2. Select rooms without any outside-policy cancellation penalties (see second example here)
  3. Verify the room does not have a true nonRefundable flag
  4. Use "Test Booking" as your guest name values in the booking request's Room object.
  5. Use the actual name, address, and phone associated with your credit card in the ReservationInfo object.
Canceling Live Test Bookings
  1. Rooms must be cancelled within 48 hours of booking.
  2. Remember that multiple rooms on a single itinerary must be cancelled one room at a time using multiple cancellation requests
  3. Allow 5 business days to process the refund of the cancel fee
  4. Allow 30 business days for the credit to be posted to the credit card account