#satorisaygg_webhooks

1 messages ยท Page 1 of 1 (latest)

potent archBOT
#

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

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

supple sluice
#

hi there!

#

I have already installed stripe CLI, forwarded all event to a endpoint on php
can you clarify what issue you see exactly? an error message maybe?

agile charm
#

by the documentation, i want to test my webhooks by sending an trigger, but it seems not supported :
stripe trigger payement_intent.succeeded The event payement_intent.succeeded is not supported by Stripe CLI. To trigger unsupported events, use the Stripe API or Dashboard to perform actions that lead to the event you want to trigger (for example, create a Customer to generate a customer.created event). You can also create a custom fixture: https://docs.stripe.com/cli/fixtures

supple sluice
#

there's a typo. it's payment_intent, not payEment_intent.

agile charm
#

:(( ty boss

#

rly sorry to have bothered for that lol

supple sluice
#

no worries!

agile charm
#

Hmm even if the trigger pass now, in my dashboard i don't see it anywhere :

supple sluice
#

can you share the two CLI commands you ran (one for listen and one for trigger)?

agile charm
#

yeah sure

supple sluice
#

this is hard to read with no lines break. can you just share the two lines I requested?

agile charm
#

C:\Users\Adrien>stripe listen --forward-to localhost:8081/webhook.php
C:\Users\Adrien>stripe trigger checkout.session.completed
...
Trigger succeeded! Check dashboard for event details.

supple sluice
#

and you did the two commands in parallel? like stripe listen in one windows, and then openned another window to do stripe trigger?

agile charm
#

nop on the same windows

supple sluice
#

well you need two different windows, so that stripe listen is still running when you do stripe trigger.