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

Add the start of a webhook handler #210

Merged
merged 3 commits into from
Jan 7, 2025

Conversation

streeter-stripe
Copy link
Contributor

This adds the framework for a webhook handler, which can be used to handle various events.

This adds the STRIPE_WEBHOOK_SECRET env variable, and also adds the https://www.furever.dev/api/webhooks route.

Copy link
Collaborator

@jorgea-stripe jorgea-stripe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 a few suggestions

README.md Outdated Show resolved Hide resolved
.env.example Outdated Show resolved Hide resolved
app/api/webhooks/route.ts Outdated Show resolved Hide resolved
Co-authored-by: Jorge Aguirre Gonzalez <[email protected]>
Signed-off-by: Chris Streeter <[email protected]>
@streeter-stripe streeter-stripe merged commit 8fa34a5 into master Jan 7, 2025
2 checks passed
@streeter-stripe streeter-stripe deleted the streeter-add-webhook-handlers branch January 7, 2025 16:49
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

Successfully merging this pull request may close these issues.

2 participants