feat: tracking - added discount property and some basics for paymentInfo
This commit is contained in:
@@ -13,6 +13,7 @@ import {
|
||||
TrackingChannelEnum,
|
||||
type TrackingSDKHotelInfo,
|
||||
type TrackingSDKPageData,
|
||||
type TrackingSDKPaymentInfo,
|
||||
} from "@/types/components/tracking"
|
||||
import { CurrencyEnum } from "@/types/enums/currency"
|
||||
|
||||
@@ -69,6 +70,10 @@ export default async function BookingConfirmation({
|
||||
bnr: booking.confirmationNumber ?? undefined,
|
||||
}
|
||||
|
||||
const paymentInfo: TrackingSDKPaymentInfo = {
|
||||
paymentStatus: "confirmed",
|
||||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
<Confirmation booking={booking} hotel={hotel} room={room} />
|
||||
@@ -76,6 +81,7 @@ export default async function BookingConfirmation({
|
||||
<TrackingSDK
|
||||
pageData={initialPageTrackingData}
|
||||
hotelInfo={initialHotelsTrackingData}
|
||||
// paymentInfo={null}
|
||||
/>
|
||||
</Suspense>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user