feat: add paid webhook#8721
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
@ologbonowiwi is attempting to deploy a commit to the cal Team on Vercel. A member of the Team first needs to authorize it. |
📦 Next.js Bundle Analysis for @calcom/webThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
alishaz-polymath
left a comment
There was a problem hiding this comment.
Two major things:
- It's missing a migration. There's change in the DB (prisma/schema.prisma) so it needs to have a migration as well, and please ensure that the migration doesn't destroy the existing webhooks.
- Ideally we'd want to have as little migrations as possible, so please add the
BOOKING_REQUESTEDandBOOKING_REJECTEDin the same migration, hence the respective change inconstants.tsandschema.prisma.
We can have them function with a follow up PR, but we definitely want them in the DB in one go, to minimize subsequent migrations
Thanks for the PR 🙌
…gbonowiwi/cal.com into feature/calcom#7299/add-paid-webhook
|
All webhooks added. Can you review it again, @alishaz-polymath? |
|
The original issue was close, will anyone review this? @alishaz-polymath @PeerRich |
alishaz-polymath
left a comment
There was a problem hiding this comment.
Please make sure to accommodate changes made in the PR #8884 so as to not repeat the same modifications and duplicate them. 🙏
Co-authored-by: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com>
Co-authored-by: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com>
…/migration.sql Co-authored-by: Syed Ali Shahbaz <52925846+alishaz-polymath@users.noreply.github.com>
|
Changes applied, thanks @alishaz-polymath |
|
this will be merged? changes already had been addressed @PeerRich @alishaz-polymath @zomars |
alishaz-polymath
left a comment
There was a problem hiding this comment.
Let's go! 🚀
Thanks a lot for your contribution 🙏

What does this PR do?
Adds the
BOOKING_PAIDwebhook from #7299edit: Also creates
BOOKING_REQUESTEDandBOOKING_REJECTEDon the databaseType of change
How should this be tested?
Checklist