Repository navigation
Refund cancelled prepaid bookings, warn last-minute bookers, keep qui… - #4
Merged
Merged
Conversation
Almondsf
commented
Oct 15, 2026
Owner
- Cancelling a booking paid online refunds what was prepaid beyond the fee straight to the card, from that booking's bill only (one room of a group never refunds the others). A gateway failure leaves the credit on the folio for staff and is audited; the cancellation still stands. The guest's manage-booking page says how much is coming back
- Search results give each rate's free-cancellation deadline for the dates (or that it has passed / the rate is non-refundable), and checkout warns before payment
- A refresh cookie presented twice within 30 seconds (quick double reload, or a navigation that cut off the first response) gets the same rotated tokens instead of a sign-out, unless the session has since ended. API clients keep strictly single-use tokens. Cache is configurable via CACHE_URL for multi-process deployments
- Tests always use placeholder gateway keys, whatever a developer's .env holds, so they can never reach a real account
- Docs: system overview, user stories, deployment, .env.example
…ck reloads signed in - Cancelling a booking paid online refunds what was prepaid beyond the fee straight to the card, from that booking's bill only (one room of a group never refunds the others). A gateway failure leaves the credit on the folio for staff and is audited; the cancellation still stands. The guest's manage-booking page says how much is coming back - Search results give each rate's free-cancellation deadline for the dates (or that it has passed / the rate is non-refundable), and checkout warns before payment - A refresh cookie presented twice within 30 seconds (quick double reload, or a navigation that cut off the first response) gets the same rotated tokens instead of a sign-out, unless the session has since ended. API clients keep strictly single-use tokens. Cache is configurable via CACHE_URL for multi-process deployments - Tests always use placeholder gateway keys, whatever a developer's .env holds, so they can never reach a real account - Docs: system overview, user stories, deployment, .env.example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.