#paulhollyer

1 messages · Page 1 of 1 (latest)

mystic onyxBOT
dim grove
#

Can you share the output from the CLI when you hit those commands?

#

Is it generating the necessary events in your account? Is there an example evt_xxx I can check?

bold sedge
#

The output is Setting up fixture for: customer Running fixture for: customer Trigger succeeded! Check dashboard for event details.

#

Output from listen: 2022-11-16 13:45:06 --> customer.created [evt_1M4lvKCjp6ddGqOp49k8ONVh]

dim grove
#

And what about listen? Are you running that alongside trigger (in a separate terminal tab)?

bold sedge
#

Not sure what you mean. Yes both running in seperate tabs in VSCode.

dim grove
#

The listen command should successfully log any events its received in the terminal. Is that not the case?

bold sedge
#

Here's whats in my terminal: ```Pauls-MacBook-Pro:upcrm code$ stripe listen --forward-to "localhost:4003/webhooks
"

Ready! You are using Stripe API Version [2020-08-27]. Your webhook signing secret is whsec_SECRET_KEY (^C to quit)
2022-11-16 13:22:39 --> customer.created [evt_1M4lZbCjp6ddGqOppeBMs5KS]
2022-11-16 13:45:06 --> customer.created [evt_1M4lvKCjp6ddGqOp49k8ONVh]```

#

Nothing is hitting my endpoint, yesterday it was fine.

dim grove
#

Yeah, so its receiving the events, just not forwarding them. Any reason for the " around your URL?

#

I'd try and provide the full URL (e.g. http://localhost:4003/webhooks)

bold sedge
#

OK let me try

#

Doh! Looks like I had the end " on a separate line in the terminal lol my fault, sorry for the unnecessary waste of your time.......

#

All good now, with ot without including http at the start of the url

dim grove
#

All good! Glad it was something easy to fix 😄

bold sedge
#

Thanks for your time, bye for now