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

Support checkout.subscription.* events #97

Open
2 tasks done
ollebergkvist opened this issue Nov 27, 2023 · 1 comment
Open
2 tasks done

Support checkout.subscription.* events #97

ollebergkvist opened this issue Nov 27, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@ollebergkvist
Copy link

ollebergkvist commented Nov 27, 2023

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

Receiving "unhandled webhook event" on the following events even though they are marked as "completed" in
the readme:

checkout.subscription.created
checkout.subscription.updated

Running API version:
[2023-10-16]

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Go to '…'
  2. Click on '…'
  3. Scroll down to '…'
  4. See error

Expected behavior

Webhook events should succeed.

Screenshots

If applicable, add screenshots to help explain your problem.

System information

  • OS: [e.g. macOS, Windows]
  • Browser (if applies) [e.g. chrome, safari]
  • Version of supabase-js: [e.g. 6.0.2]
  • Version of Node.js: [e.g. 10.10.0]

Additional context

Add any other context about the problem here.

@ollebergkvist ollebergkvist added the bug Something isn't working label Nov 27, 2023
@kevcodez
Copy link
Contributor

Hi,

both events are not marked as completed, the ones that are supported are in the customer namespace, but not checkout.

I.e. customer.subscription.created is supported, whereas checkout.subscription.created is not supported yet.

Feel free to submit a PR for these events, should be relatively straightforward to add

@kevcodez kevcodez changed the title Unhandled webhook event Support checkout.subscription.* events Nov 27, 2023
@kevcodez kevcodez added enhancement New feature or request and removed bug Something isn't working labels Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants