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

Stripe webhook missing? #12

Closed
ndamofli opened this issue Jan 27, 2024 · 1 comment
Closed

Stripe webhook missing? #12

ndamofli opened this issue Jan 27, 2024 · 1 comment

Comments

@ndamofli
Copy link

I can't seem to understand how stripe updates the database when there are billing errors. Can you please help me understand.?

@scosman
Copy link
Contributor

scosman commented Jan 27, 2024

We don’t duplicate the Stripe state in Postgres, so there isn’t a Webhook. Pages like the admin billing page call the stripe API for current subscription status. You can use the same pattern shown there for fetching subscription/billing status.

Webhooks to save it in Postgres might be a nice addition, but isn’t planned.

@scosman scosman closed this as completed Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants