ita-matrix-powertools icon indicating copy to clipboard operation
ita-matrix-powertools copied to clipboard

Latam booking failure

Open anthonyhashemi opened this issue 2 years ago • 0 comments

When accessing a latam itenary I visit the http://booking.lan.com/cgi-bin/compra.... link provided which turns into ssl as mentioned in the code below

    // The booking.lan.com url as of 2/27/2020 needs to be http instead of https. Fortunately, it does redirect you
    // to https://ssl.lan.com afterwards, but the booking link seems to be more successful than starting with ssl
    return (
      `http://booking.lan.com/cgi-bin/compra/paso4.cgi?forced_home=${edition}&sessionParameters=` +
      encodeURIComponent(JSON.stringify(parameters))
    );
  };

After filling in the passenger details and clicking "continue" on the page it redirects back to https://www.latamairlines.com/gb/en

Are there any tips to get around this?

I know this is not necessarily an issue with the tool but maybe the site that is being linked to no longer works as expected?

anthonyhashemi avatar Sep 06 '22 22:09 anthonyhashemi