Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal to Include Payment UID in BOOKING_PAYMENT_INITIATED Webhook Event #15512

Open
fabriziospadaro opened this issue Jun 20, 2024 · 0 comments
Labels
✨ feature New feature or request Low priority Created by Linear-GitHub Sync payments Created by Linear-GitHub Sync webhooks area: webhooks, callback, webhook payload

Comments

@fabriziospadaro
Copy link

Is your proposal related to a problem?

I’m always frustrated when I cannot access the payment UID from the BOOKING_PAYMENT_INITIATED webhook event. This makes it challenging to send a custom email to recover abandoned carts because constructing the recovery link requires the UID.

Describe the solution you'd like

I would like the BOOKING_PAYMENT_INITIATED webhook event to include the payment UID. This would allow me to construct a link such as https://cal.com/payment/uid and send custom emails to recover abandoned carts effectively.

Describe alternatives you've considered

I have attempted to work with the /payments API, but it returns zod errors. The same issues occur when trying to use /payments/[id]. These alternatives do not provide a reliable way to access the payment UID necessary for constructing the recovery link.

Additional context

Including the payment UID directly in the BOOKING_PAYMENT_INITIATED webhook event would streamline the process and reduce reliance on potentially faulty API calls.

Requirement/Document

Any documentation that supports adding additional data to webhook events or dealing with zod errors in API responses would be helpful.


House rules
  • If this issue has a 🚨 needs approval label, don't start coding yet. Wait until a core member approves the feature request by removing this label, then you can start coding.
    • For clarity: Non-core member issues automatically get the 🚨 needs approval label.
    • Your feature ideas are invaluable to us! However, they undergo review to ensure alignment with the product's direction.
@dosubot dosubot bot added webhooks area: webhooks, callback, webhook payload ✨ feature New feature or request labels Jun 20, 2024
@ciaranha ciaranha added Low priority Created by Linear-GitHub Sync payments Created by Linear-GitHub Sync labels Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ feature New feature or request Low priority Created by Linear-GitHub Sync payments Created by Linear-GitHub Sync webhooks area: webhooks, callback, webhook payload
Projects
None yet
Development

No branches or pull requests

2 participants