#wizard6109
1 messages · Page 1 of 1 (latest)
Hello! Can you add a console.log line as the very first thing when a response comes in, to make sure that code is actually running when Stripe sends a webhook?
yep, heres a couple screenshots
this is the command i am running to listen for the stripe call: stripe listen --forward-to localhost:3000/api/stripe/payment-webhook
this is my code that runs when the webhook gets hit, i do not see any console.logs and my firestore db is not updated
and this is a screenshot of the webhook output from the command i ran earlier
i also just tried to put a console.log in at the top before the first if statement, but no difference in output
It sounds like either the code you're editing isn't being deployed, you're editing the wrong code, or the code you're editing is never run.