Tobias Johansson
a70f8a3b97
Merged in feat/SW-618-payment-non-happy-path (pull request #874 )
...
Feat/SW-618 payment non happy path
* feat(SW-618): filter out expired saved cards
* feat(SW-618): Added payment error codes and way of showing messages based on code
* feat(SW-618): show error message if max retries has been reached and remove search param after showing toast
* fix(SW-618): move fallback error codes
* fix(SW-618): remove ref from stopping useEffect to run twice
* fix(SW-618): refactored logic for toast message and minor fixes
* fix(SW-618): remove error message enum due to static analysis problems
Approved-by: Christian Andolf
Approved-by: Arvid Norlin
2024-11-18 14:10:11 +00:00
Christel Westerberg
f4f771ec70
fix: rename BedTypeEnums
2024-11-07 13:53:24 +01:00
Simon Emanuelsson
62f549e85d
feat: get breakfast package from API
2024-10-29 15:39:21 +01:00
Tobias Johansson
025c5c8291
Merged in feat/SW-659-payment-send-query-params (pull request #727 )
...
feat(SW-659): Receive query params from Planet callbacks
* feat(SW-659): read confirmation number from url and update callback url if dev
* fix(SW-659): moved callback url into env variable
Approved-by: Simon.Emanuelsson
2024-10-23 11:51:44 +00:00
Simon Emanuelsson
2d23f9bbf3
feat: booking confirmation page with hardcoded data
2024-10-23 11:56:02 +02:00
Tobias Johansson
b33381d1b4
Merged in feat/SW-588-payment-saved-card (pull request #697 )
...
feat(SW-588): Added saved card to payment step
* feat(SW-588): Added saved card to payment step
* feat(SW-588): Add proper label for saved card
* feat(SW-588): fix from PR feedback
* feat(SW-588): Add preloading of data
* feat(SW-588): remove onChange logic for PaymentOption
* feat(SW-588): moved payment files to correct folder
* feat(SW-588): moved preload to layout
* fix: remove unused prop
Approved-by: Simon.Emanuelsson
2024-10-21 10:39:19 +00:00
Tobias Johansson
740419bad2
Merged in feat/SW-459-payment-flow-ui-ux (pull request #657 )
...
Feat/SW-459 payment flow ui ux
* feat(SW-431): List payment methods and handle booking status and redirection
* feat(SW-431): small fix
* fix(SW-431): Added intl string and sorted dictionaries
* fix(SW-431): add todo comments
* feat(SW-459): Added payment method icons
* feat(SW-459): refactored into new component and added form
* feat(SW-459): Localized strings
* feat(SW-459): added checkbox
* feat(SW-459): Refactored payment options and updated payment form
* feat(SW-459): update input bg color
* feat(SW-459): add current web links and style fixes
* fix(SW-459): fix issue with booking confirmation not being accessible
* feat(SW-459): style changes
* feat(SW-459): update max width of payment container
* feat(SW-459): update create booking schema
* feat(SW-459): fixes from PR
Approved-by: Arvid Norlin
2024-10-10 12:20:41 +00:00
Tobias Johansson
4103e3fb37
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 09:37:09 +00:00