cal.com icon indicating copy to clipboard operation
cal.com copied to clipboard

Fix/bookings unintended confirmations on rejection 6975

Open alannnc opened this issue 1 year ago • 1 comments

What does this PR do?

There was some cases when trying to reject booking will result in confirming it instead. Fixes #6975

  • Added redirection to payment page if booking was rejected/cancelled with/without payment.

https://www.loom.com/share/b65a2a4e837449e7ba66023727794724

Environment: Staging(main branch)

Type of change

  • [X] Bug fix (non-breaking change which fixes an issue)

How should this be tested?

  • [ ] Setup a booking that requires confirmation or payment.
  • [ ] Try to reject it and error shouldn't display anymore.

Checklist

  • I haven't read the contributing guide
  • My code doesn't follow the style guidelines of this project
  • I haven't performed a self-review of my own code and corrected any misspellings
  • I haven't commented my code, particularly in hard-to-understand areas
  • I haven't checked if my PR needs changes to the documentation
  • I haven't checked if my changes generate no new warnings
  • I haven't added tests that prove my fix is effective or that my feature works
  • I haven't checked if new and existing unit tests pass locally with my changes

alannnc avatar Feb 10 '23 23:02 alannnc

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
cal ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 10, 2023 at 11:33PM (UTC)
1 Ignored Deployment
Name Status Preview Comments Updated
ui ⬜️ Ignored (Inspect) Feb 10, 2023 at 11:33PM (UTC)

vercel[bot] avatar Feb 10 '23 23:02 vercel[bot]