cal.com
cal.com copied to clipboard
[CAL-3116] `bookingSuccessful` event is emitted even when the user clicks on `Cancel`, `Nevermind` etc...
Issue Summary
When embedding a cal.com widget, the bookingSuccessful
event is emitted even when the user clicks on Cancel
, Nevermind
etc...
I'd expect it to only be emitted whenever an event is successfully booked.
Steps to Reproduce
- Embed a widget
- Subscribe a callback to
bookingSuccessful
event - Book an event, then click on Cancel, then Nevermind
This issue has been labeled as a bug related to the embed feature. The team will review it and take the necessary actions. Thank you for reporting this!
From Maige. How's my driving?
Hi! I would like to take this up if it is available
@baptisteArno This is fixed in this PR https://github.com/calcom/cal.com/pull/13755. Mind testing this again
cc @PeerRich