#Albert Wenge
1 messages · Page 1 of 1 (latest)
This means that your local server that hosted webhook refused the connection
I'd recommend checking why your local server refused the connection
what could be the reason it refused the connection
I'm afraid I don't know how your localhost is set up, so I can't provide the reason. I'd recommend google the error with the environment (such as docker) you use
I started in debugging mode from visual studio 2019
anyhow the link - http://localhost:4242/webhook is not loading..
Yep so your localhost server hasn't working in the first place. You would want to boot it up first
Make curl http://localhost:4242 works before moving to webhook
I downloaded the whole project and updated the endpointSecret and api key value
but I wasn't able to load the link
Where did you download from?
can't find the link, it is stripe example project
Can you please throw some light on how to get it work?
Just downloading might not be enough. Please follow the instructions here https://stripe.com/docs/webhooks/quickstart#init-stripe
Ok, thanks for the link. I did check the link earlier
can you tell me how to "Add a new endpoint to your server and make sure it’s publicly accessible so we can send unauthenticated POST requests."
That's basically how you create a backend server
can you please instruct me how to create that?
maybe this is the important step I missed
It's in the Doc I linked above. First you would need to install Stripe with Maven or Gradle or Github. Please follow it steps by steps!
I did install Stripe in the first step