Files
web/app/[lang]/(live)/(public)/hotelreservation
Tobias Johansson d44451d2dc Merged in feat/SW-431-payment-flow (pull request #635)
Feat/SW-431 payment flow

* feat(SW-431): Update mock hotel data

* feat(SW-431): Added route handler and trpc routes

* feat(SW-431): List payment methods and handle booking status and redirection

* feat(SW-431): Updated booking page to poll for booking status

* feat(SW-431): Updated create booking contract

* feat(SW-431): small fix

* fix(SW-431): Added intl string and sorted dictionaries

* fix(SW-431): Changes from PR

* fix(SW-431): fixes from PR

* fix(SW-431): add todo comments

* fix(SW-431): update schema prop

Approved-by: Simon.Emanuelsson
2024-10-04 12:23:31 +02:00
..

Booking flow

The booking flow is the user journey of booking one or more rooms at our hotels. Everything from choosing the date to payment and confirmation is part of the booking flow.

Booking widget

On most of the pages on the website we have a booking widget. This is where the user starts the booking flow, by filling the form and submit. If they entered a city as the destination they will land on the select hotel page and if they entered a specific hotel they will land on the select rate page.

Select hotel

Lists available hotels based on the search criteria. When the user selects a hotel they land on the select rate page.

Select rate, room, breakfast etc

This is a page with an accordion like design, but every accordion is handled as its own page with its own URL.

State management

The state, like search parameters and selected alternatives, is kept throughout the booking flow in the URL.