#jucart
1 messages · Page 1 of 1 (latest)
Hello! In principle it should just be a case of deploying your webhook endpoint code to a remote server that is accessible to us, and then configure a live mode webhook in your Stripe Dashboard that hits the URL where the webhook is hosted
But how do I run it on the server? Do I need to give the stripe listen command with the api link?
You wouldn't use it with the CLI really, it's redundant in live/production. It's just a proxy to forward events locally
If you have a webhook configured on your Dashboard then that will handle sending the events
Understand. Then it is only necessary to configure the endpoint with the secrets on the server and add this endpoint to the stripe. Another doubt. This can be configured in nginx and it will already be "listening", correct? Is it necessary for the server configuration to be in https?
👋 taking over for my colleague. Let me catch up.
I don't think there's a prerequisite to be on https, but it's always better right?
Correct. just a few doubts. hehehe. Ok, thanks guys. ;D
This can be configured in nginx and it will already be "listening", correct?
in production we don't advise on doing so
this means that your webhook will be more vulnerable to break
and it won't be reliable enough
Are you referring to the https part? Correct?
or nginx?
Understand, so it would just be running the api on the server side? There is not necessarily a need to put it in nginx.
yes
and you need to create a webhook endpoint on your dashboard (or through the API) that uses the URL on your server
Very cool solution. Thank you for answering all the questions.
let me know if you need any more help
you don't mind me closing the thread then?