#Tawzzles-webhooks

1 messages · Page 1 of 1 (latest)

golden flower
#

Hello!

#

Are you getting any particular errors?

reef geode
#

I'm not sure, here let me send a screenshot of what I see

golden flower
#

Can you share one of those event IDs with me? And are you getting any errors/logs from your server?

reef geode
#

yup here you go

#

evt_3LTfocJbSXeF5qyc0cS0H61n

#

I'm not getting any errors/logs from the server which is why I';m not sure how to start looking at this

#

It seems the event is just not being sent to my webhook for some reason

#

actually let me double check the logs

#

this might be related?

#

I'm using firebase backend and to currently host my webapp, do I need to add any configurations for stripe to let the request go through?

#

I'm also getting an ECONNECTIONABORTED code as a result of this it seems

#

@golden flower let me know if there's anything in the backend that can be of help, thanks so much!

golden flower
#

Sorry - it got really busy there for a minute 🙂

reef geode
#

no worries! Seems like my post started a fresh wave of questions haha

golden flower
#

Do you remember doing any sort of configuration/setup with your test endpoint? From what you shared it does look like something is missing in your server configuration to allow these requests through

reef geode
#

I used the CLI to redirect the webhook events to localhost:3000/api/stripe_hook

#

I used the "stripe listen --forward-to localhost:3000/api/stripe_hook" command on terminal

#

Do you know what I might be missing on the server side to configure these requests?

#

@golden flower thanks so much!

golden flower
#

Actually backing up for a second - can you share your webhook code with me so I can see what it looks like?

reef geode
#

sure

#

oh yea i will replace the signing secret into the env variable as well

golden flower
#

Can you add a log line right before the constructEvent line and then try triggering an event? I'm not the most familiar with firebase, so I just want to see if it's failing to even reach your endpoint at all, or if it's failing later

reef geode
#

yup for sure

reef geode
#

@golden flower going through the logs again it doesn't seem like the event is being captured.. but then I'm confused as to what the ECONNABROTED is from then?

#

@golden flower would you have any more insights potentially? Thanks so much!

golden flower
#

Sorry, it's been busy in here - I do think what you've shared confirms my suspicions this is something specifically on the firebase/server setup side

#

I'd recommend reaching out to firebase support to see if they have any insights on what specific setting needs to change to support your requests

reef geode
#

hmm ok, thanks so much! will look into that more then