#john_webhooks

1 messages ¡ Page 1 of 1 (latest)

past galleonBOT
#

👋 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/1296351202195279914

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

zealous spade
#

I am not sure how to fullfill no cost orders, since webhook is not getting triggered at all

#

I am using payment link of the product, basically user clicks the link, opens in browser, enters promo code, puts email and hit proceed. After that no webhook is getting triggered

#

I am using stripe listen --forward-to localhost:3000/webhook

last axle
zealous spade
#

yes checkout.session.completed

#

i am expecting to get fired, but entire webhook is not getting called

#

and nothing in CLI logs either

#

any paid order, works fine

last axle
#

By default, Stripe CLI only forwards events in test mode. However, evt_1QAmasGEZcPk1AQr4D9KlG17 is in live mode

#

It's expected evt_1QAmasGEZcPk1AQr4D9KlG17 won't be forwarded in Stripe CLI

#

In live mode, you shouldn't use local endpoint to listen to the events

zealous spade
#

so i should have live webhook url only?

last axle
#

You should set up a hosted webhook endpoint in your server

zealous spade
#

got it

#

thanks! i will look into that