Merged in fix/tracking-requests (pull request #1208)
Added siteversion to all events and fixed payment status * Added siteversion to all events and fixed payment status * Fixed bug Approved-by: Erik Tiekstra
This commit is contained in:
@@ -38,6 +38,7 @@ export default function PaymentCallback({
|
||||
trackPaymentEvent({
|
||||
event: "paymentCancel",
|
||||
hotelId: detailsStorage.booking.hotelId,
|
||||
status: "cancelled",
|
||||
})
|
||||
}
|
||||
if (status === "error") {
|
||||
@@ -45,6 +46,7 @@ export default function PaymentCallback({
|
||||
event: "paymentFail",
|
||||
hotelId: detailsStorage.booking.hotelId,
|
||||
errorMessage,
|
||||
status: "failed",
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user