#Lesc

1 messages · Page 1 of 1 (latest)

left kelpBOT
west lava
#

Hi
How are you triggering Events ?

#

You can run this express app in your local env

real cipher
#

No I want it so stripe sends events to my server if something happens like when a subscription was created or something. How would I trigger the events? I want to receive them when they happen

west lava
#

Yeah, I mean in order to test, you need to do some action in order that Stripe triggers the event as a result.

#

In order to test that express endpoint, you can run it locally

real cipher
west lava
#

Is this express deployed in a server or you are running it locally ? in other words you want to receive the event in your server or locally for test first ?

real cipher
#

Right now I run it locally

#

Oh wait so it doesn't work like that locally?

#

So locally I need to do this stripe listen --forward-to thing but when I host it on a server I don't need to do that right?

west lava
real cipher
#

Ok thank you I will try that later

west lava
#

Welcome!

left kelpBOT