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,
|
roomTypeCode,
|
||||||
})
|
})
|
||||||
|
|
||||||
const hotelData = await getHotelData({
|
|
||||||
hotelId,
|
|
||||||
language: lang,
|
|
||||||
})
|
|
||||||
const roomAvailability = await getSelectedRoomAvailability({
|
const roomAvailability = await getSelectedRoomAvailability({
|
||||||
hotelId,
|
hotelId,
|
||||||
adults,
|
adults,
|
||||||
@@ -75,6 +71,11 @@ export default async function StepPage({
|
|||||||
rateCode,
|
rateCode,
|
||||||
roomTypeCode,
|
roomTypeCode,
|
||||||
})
|
})
|
||||||
|
const hotelData = await getHotelData({
|
||||||
|
hotelId,
|
||||||
|
language: lang,
|
||||||
|
isCardOnlyPayment: roomAvailability?.mustBeGuaranteed,
|
||||||
|
})
|
||||||
const breakfastPackages = await getBreakfastPackages(breakfastInput)
|
const breakfastPackages = await getBreakfastPackages(breakfastInput)
|
||||||
const user = await getProfileSafely()
|
const user = await getProfileSafely()
|
||||||
const savedCreditCards = await getCreditCardsSafely()
|
const savedCreditCards = await getCreditCardsSafely()
|
||||||
|
|||||||
Reference in New Issue
Block a user