Merged in fix/SW-878-alternate-payment-options (pull request #878)
fix(SW-878): fix issue with alternate pay options showing when flex rate is selected * fix(SW-878): fix issue with alternate pay options showing when flex rate is selected Approved-by: Christel Westerberg Approved-by: Simon.Emanuelsson
This commit is contained in:
@@ -62,10 +62,6 @@ export default async function StepPage({
|
||||
roomTypeCode,
|
||||
})
|
||||
|
||||
const hotelData = await getHotelData({
|
||||
hotelId,
|
||||
language: lang,
|
||||
})
|
||||
const roomAvailability = await getSelectedRoomAvailability({
|
||||
hotelId,
|
||||
adults,
|
||||
@@ -75,6 +71,11 @@ export default async function StepPage({
|
||||
rateCode,
|
||||
roomTypeCode,
|
||||
})
|
||||
const hotelData = await getHotelData({
|
||||
hotelId,
|
||||
language: lang,
|
||||
isCardOnlyPayment: roomAvailability?.mustBeGuaranteed,
|
||||
})
|
||||
const breakfastPackages = await getBreakfastPackages(breakfastInput)
|
||||
const user = await getProfileSafely()
|
||||
const savedCreditCards = await getCreditCardsSafely()
|
||||
|
||||
Reference in New Issue
Block a user