#Albert Wenge
1 messages · Page 1 of 1 (latest)
You likely want to find a hosting provider and follow their guide to deploy your project
Hi river
actually I have uploaded my webhook stuffs to a web server, but the endpoint URL doesn't wokr
not sure what should be the right endpoint url
I'd recommend reaching out to the hosting provider and check with them what the URL format should be like as we don't know how your web server works
The webhook endpoint is defined by your project
When you mentioned the endpoint URL doesn't work, what is the issue you're facing?
the webhook stuffs tested fine in my local with localhost:4242/webhook
but I am not sure how to set it up in a host server
http://wengesingmusic.com/WebhookApp/webhook is the URL I was trying to use
but it failed in connecting
Can you share an example event ID (evt_xxx) with the error message?
Did you register the webhook endpoint in the Dashboard? https://stripe.com/docs/webhooks/go-live
If you visit http://wengesingmusic.com/WebhookApp/webhook using browser, it's a GET method whereas for webhook server setup, it's a POST method
You can't test the webhook URL with the browser
so what should be the right endpoint url?
I uploaded the webhook stuffs to http://wengesingmusic.com/WebhookApp/webhook
Cant reach that site
I don't know how your web server/hosting provider works, so I don't know what is the right endpoint URL
Better check your site first
@high furnace Your site is not live yet, even using browser I cant access it
But the one you used to get data from stripe is not working
You need to fix it first
Seem you are not a developer?
Better hire someone do it for you. It not a big deal with a developer
I am but not too much from this apect
I already tested the webhook locally with no issue
now just need the endpoint url from public server
I cant even access your webhook via browser
so it needs to be accessible via browser?
Since local is working fine, the webhook integration/setup is properly done. Deployment is outside of Stripe's scope as the project can be hosted differently. I'd recommend checking with your web server what is the correct step to host the project and get its URL. From 404 error message, this means that the endpoint path isn't registered at what you intent it to be
I was told - You can't test the webhook URL with the browser..
Endpoint path can only be tested with POST method when you set up the endpoint path as POST
Opening the URL in browser is a GET request
I see the error message, but its like a server response, not a method not allowed message
I do thing there is some problem with server config
Yup, 404 means that this page with GET isn't found
so can you guys please help on how to set it up in a hosting server?
I just directly uploaded the program to the server
this is the webhook stuffs I used, it work & tested well locally, can someone pls help me deploy it to a sever and get the endpoint url?
Taking over here, and sorry we can't do it completely for you. You would want to investigate first which server/hosting provider you want to use, then follow their Doc to deploy to their server
but they may not know how to setup the webhook stuffs
They should know how to upload file to a server on their hosting
You would want to have at least 1 simple POST endpoint working first, then start to plug in your webhook logic code
I know how to upload the files, but not the configuration, can you pls help?
Sorry but it also depends on what exactly the hosting provider you are going to use. Each provider would have different way of setting environment variable, for example
No they are different, really. Have you worked with some of the hosting providers before? Just choose one you are familiar with
I currently use winhost