Stripe webhook not working
Hello!
I'm trying to make a subscription system (not for users bur for servers) for a web app i'm making, no problem with that so far.
The main issue comes when combining Webhooks and Stripes (and also BetterAuth Webhook Management, that's why i'm asking it here).
I'm currently using this to run Stripe:
"stripe:listen": "stripe listen --forward-to http://localhost:3001/api/auth/stripe/webhook --events \"checkout.session.completed,customer.subscription.created,customer.subscription.updated,customer.subscription.deleted,payment_intent.succeeded,payment_intent.payment_failed\"",
.
I've updated my env file to match the webhook but nothing, when i buy something in test mode, nothing happens, no logs here, no events called, nothing at all.
Thanks.1 Reply
Fixed, i was logged in the wrong account