#mtanzi

1 messages ยท Page 1 of 1 (latest)

idle oarBOT
honest cedar
#

Hi there!

onyx turtle
#

Hi!

honest cedar
#

[ERROR] Failed to POST: Post "http://locahost:port/path-to-webhook": dial tcp: lookup locahost: no such host
Are you sure your server is running on localhost?

onyx turtle
#

yes, I have also enabled some debugging tool to make sure that the API is called but no, the webhook doesn't reach the app on the localhost

#

could it be the company VPN ?

honest cedar
#

could it be the company VPN ?
Yes that's possible. In this case could you try using a real webhook endpoint in your Stripe dashbaord, instead of the CLI?

onyx turtle
#

you mean tunnel into my machine the webhooks form the test env?

honest cedar
#

I mean use something like ngrok to have a public URL, and use that in the Stripe dashboard to setup a webhook endpoint.

onyx turtle
#

ah ok... I am not sure I can use ngrok since it might be blocked

#

ok, let me try to take that approach ๐Ÿ‘๐Ÿป