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

One extra reason not to rely solely on data from webhooks #22

Open
andreyvital opened this issue Jan 31, 2025 · 0 comments
Open

One extra reason not to rely solely on data from webhooks #22

andreyvital opened this issue Jan 31, 2025 · 0 comments

Comments

@andreyvital
Copy link

andreyvital commented Jan 31, 2025

This issue can be closed right away, but just wanted to share what I've received from Stripe, as an advice to follow most of the recommendations in this repo:

Image

If I'd be pulling data directly from webhook's payload, in this case, to create a subscription in the DB—I'd have to go and track down those subscriptions and all related data and delete 'em. That's why it's utterly important to use webhooks as signals to refetch state from Stripe and stay sane.

Thanks!

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

1 participant