#jucart

1 messages · Page 1 of 1 (latest)

feral foxBOT
spring lagoon
#

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

feral foxBOT
timber current
#

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?

crystal crater
#

👋 taking over for my colleague. Let me catch up.

crystal crater
timber current
crystal crater
#

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

timber current
#

or nginx?

crystal crater
#

nginx in particular

#

if you rerouting to your own machine using nginx

timber current
#

Understand, so it would just be running the api on the server side? There is not necessarily a need to put it in nginx.

crystal crater
#

yes

#

and you need to create a webhook endpoint on your dashboard (or through the API) that uses the URL on your server

timber current
#

Very cool solution. Thank you for answering all the questions.

crystal crater
#

let me know if you need any more help

timber current
#

Just those doubts. ;D

#

helped a lot

crystal crater
#

you don't mind me closing the thread then?