#tyson-cli-webhook

1 messages ยท Page 1 of 1 (latest)

buoyant pivotBOT
coarse slate
#

hi koopajah

serene lion
#

what doe you all "stripe crl"? To you mean Stripe CLI?

#

Also what does

it works but doesn't call at the endpoint
mean? Can you be a lot more explicit?

coarse slate
#

yes sorry

#

I am testing it on a local inviroment is that why i dont get the request into the actual application

#

note: i am building it on bubble

serene lion
#

I am going to need a lot more details sorry. And I don't know what bubble is

#

tyson-cli-webhook

tropic lion
#

Hope you don't mind me jumping in here but I'm having a similar problem. I'm running an xampp webserver and setup the cli command to listen to localhost/stripe-webhook.php, copied the whsec into the code but it's not triggering the script when I do the stripe trigger command. I added an fwrite at the top of the file to write to a log file and nothing is happening.

#

the event is being created in the dashboard but not firing my local script btw

serene lion
#

@tropic lion Please ask your own question separately since it's likely not the same thing

tropic lion
#

no problem, still learning. thanks

serene lion
#

all good, just want to avoid mixing up the two investigations as you won't respond at the same pace. But we can always circle back here after once we figure out yours ๐Ÿ™‚

coarse slate
#

Is there a solution?

serene lion
#

Right now you have provided no information so I can't really help yet. I'm waiting for you to provide actionable details

coarse slate
#

ok I'm trying to test local webhook triggers using the cli and it's not triggering my local script, but is registering the event in the dashboard (feels like the forwarding isn't working correctly).
I'm running a local xampp server where I have strip-webhook.php in the root. I'm setting up the forwarder using
stripe listen --forward-to https://dashboard.stripe.com/test/webhooks/we_1MR1CTGyTHRDmBrwx6OOCdfd my webhook and its not doing any events, i i can get the request in the local section if you look at the above picture but it doesnt actually seem to be calling the webhook as i am not getting the reqest on bubble

barren zinc
#

Hi there ๐Ÿ‘‹ taking over for @serene lion

Give me a few minutes to get caught up.

#

Or:
stripe listen --forward-to localhost:<some-port-number>/<some-endpoint>

tropic lion
#

just to add, in case you made the same mistake as me... you need to leave the listener open and use a separate cmd window to trigger the stripe trigger command. I did a stupid ๐Ÿ™‚