#kikko088_webhooks
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1356336263560691852
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, can you share the id of the event that you did not recieve? Did you see any errors?
this is an example evt_1R8n7fRnZ5LUqVlUjlaAKgfL
this is in a sendbox
I'm not live yet
this is wha I usually run to start the webhook locally
stripe listen --events product.updated,product.created,product.deleted,invoice.paid,checkout.session.completed,customer.subscription.trial_will_end,invoice.upcoming,invoice.payment_failed,customer.subscription.deleted,customer.subscription.updated --forward-to localhost:4001/hooks/stripe --skip-verify
it worked in the past few months
today I can't receive anything in my local terminal
It looks like you're following this guide: https://docs.stripe.com/webhooks. When did this work last?
yesterday
๐ Taking over as @tacit herald needs to step away soon
If you just run stripe listen command, are you seeing any events then?
instead of running your own script with ./start-stripe.sh, can you run stripe listen and see if you receive any events by running stripe trigger ..?
nothing change
I can see events only if I do stripe listen --forward-to localhost:4001/hooks/stripe --skip-verify
I'm not running the app so the error is expected
oh wait, it seems like the webhook is listening for the non sandbox project
do I need to specify the sandbox when I listen?
Not that I know of. As long as you're logged in to the right account, it should be automatic - https://docs.stripe.com/stripe-cli/overview#log-into-stripe-to-authenticate-requests
ok, I've logged in again and I can see some events now
probably I did something wrong during the login
NP! Glad you're unblocked now ๐