Handle payment fail and cancel events

This commit is contained in:
Linus Flood
2025-01-08 15:02:03 +01:00
parent 20714d0c3b
commit 5889bdd79d
3 changed files with 51 additions and 21 deletions

View File

@@ -107,10 +107,10 @@ export type TrackingSDKData = TrackingSDKPageData & {
export type PaymentEvent = {
event: string
hotelId: string
method: string
isSavedCreditCard: boolean
smsEnable: boolean
hotelId: string | null
method?: string
isSavedCreditCard?: boolean
smsEnable?: boolean
errorMessage?: string
}