Rollback Amadeus Hotel - AMH Version 227

Fix (Book): Set value of sessionId and token before error tipification in case second valuation fails to avoid incorrect session closing

As sessionId and token were null if second quote included on reservation step failed, this was causing a double error: the original exception and an additional connectivity error due to sending both parameters as null on Amadeus Headers. This solves the problem and allows session closing even if quote fails.

Sellers at 2023-05-10:

  • Amadeus Hotel - [AMH]
  • Amadeus Value Hotels - [AVH]