Adds booking data to SDK success event (#6737)
parent
16adf86c8c
commit
a90419c40b
|
@ -255,6 +255,7 @@ export default function Success(props: SuccessProps) {
|
|||
if (!sdkActionManager) return;
|
||||
// TODO: We should probably make it consistent with Webhook payload. Some data is not available here, as and when requirement comes we can add
|
||||
sdkActionManager.fire("bookingSuccessful", {
|
||||
booking: bookingInfo,
|
||||
eventType,
|
||||
date: date.toString(),
|
||||
duration: calculatedDuration,
|
||||
|
|
Loading…
Reference in New Issue