#ilman_sandbox-testmode-webhook-events

1 messages ยท Page 1 of 1 (latest)

clear citrusBOT
#

๐Ÿ‘‹ 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/1389163679752126464

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

rare folio
#

hi there!

#

can you share a Checkout Session ID (cs_xxx) that didn't trigger the event, or an Event ID (evt_xxx) that you didn't receive?

fair swift
#

wait

rare folio
#

thanks having a look

#

that ID doesn't seem to exist. did you copy-past it correctly?

fair swift
#

I will verify it again

rare folio
#

that Checkout Session has status: "open". so it's expected that you didn't receive the checkout.session.completed event. can you complete the session?

#

also, it looks like you don't have any webhook endpoint configured on your Stripe account.

clear citrusBOT
fair swift
#

Created session: cs_test_a1Owv37WZZpfjGkcZ7OGw0rwJldvRmJ690iV9RJBts9b3KHjKkLMWtJcT8
View at: https://dashboard.stripe.com/test/checkout/sessions/cs_test_a1Owv37WZZpfjGkcZ7OGw0rwJldvRmJ690iV9RJBts9b3KHjKkLMWtJcT8

can you please check this one
also I have webhook configured webhook
https://066c-39-44-159-129.ngrok-free.app/api/webhook
this is the endpoint

odd token
#

Hi ๐Ÿ‘‹

What event are you expecting to fire?

fair swift
#

checkout.session.completed

odd token
#

I'm looking at your account and there are no webhook endpoints configured

fair swift
#

I created three webhooks

odd token
#

That is in a Sandbox account but the event did not occur in the Sandbox accunt

fair swift
#

please guide me to comfigure my webhook which will

#

work

odd token
#

Try creating the Checkout Session using the API key from the Sandbox account

fair swift
#

you said that I dont have webhook then why it give correct response when listen in stripe CLI and trigger the event from terminal

commands:
stripe listen --forward-to localhost:3000/api/webhook

#

stripe trigger checkout.session.completed

odd token
#

stripe listen forwards events to your local machine. It is for testing your webhook code before you register a webhook endpoint

fair swift
#

thank brother the problem is solved.

odd token
#

Great ๐ŸŽ‰ I'm glad you got it sorted ๐Ÿ™‚