Skip to content

Fix fare checking for basic fares#391

Open
razzamatazm wants to merge 2 commits intojdholtz:masterfrom
razzamatazm:fix-basic-fare-checking
Open

Fix fare checking for basic fares#391
razzamatazm wants to merge 2 commits intojdholtz:masterfrom
razzamatazm:fix-basic-fare-checking

Conversation

@razzamatazm
Copy link
Copy Markdown

@razzamatazm razzamatazm commented Mar 11, 2026

fix fare checking for non-changeable basic fares by reading the booked WGA amount from the cancel refund quote API

  • derive the current basic fare from change-shopping upgrade prices and price differences instead of treating WGA fares as unavailable
  • add unit and integration coverage for WGA and WGARED fare checks

Testing

@razzamatazm
Copy link
Copy Markdown
Author

Well - this works so long as the flyer doesn't have a companion linked to their reservation, as that requires cancelling the companion reservation first. I found a method of pulling the price paid in points if the flyer is using the account method of getting their reservations via the rapid rewards profile portal, but that does not provide purchase amounts in $$$. It's pretty obvious SW does not want to remind you how much you paid for your flights, as the price you paid for historical flights is very easily displayed.

@jdholtz
Copy link
Copy Markdown
Owner

jdholtz commented Mar 31, 2026

Thanks @razzamatazm! Hoping to have the time to do a review of this in the next few days

@aaron-pham
Copy link
Copy Markdown

Would love to get this in! @jdholtz, sure you are busy though :P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Basic Fares not being detected? Element {.login-button--box} was not present after 7 seconds!

3 participants