#tudor_ang
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- tudor-subs-testing, 3 hours ago, 438 messages
- tudor_ang, 11 hours ago, 69 messages
hello
Hello! What's up?
i want to make stripe listen to my webhooks from production
here is how i set it to local host
how i can do this for production
i want to send the req to my domain production
endpoint
The stripe listen command is only designed for local testing. For production you should set up a Webhook Endpoint in your Dashboard.
where i can do this
can i have a link please
i am not sure what to select at listen to
i have my backend on a server
Those are the Event types you want to listen for. For example, if you wanted to listen to checkout.session.completed you would specify that Event type there.
Yes.
events on your acc or connected accounts
Oh, that. Are you using Connect?
yeah i have const stripe = require('stripe')('sk_test_51NgtdrFi8oKxxxxxxxxxxx);
if this is the connect
Like where are the Events you want to listen for happening? Are they on your own Stripe account or are they on Stripe accounts connected to your Stripe account?
No, that's not what I mean.
Are you using this? https://stripe.com/docs/connect
no
Okay, then you only care about Events on your own account.
Because you don't have any connected accounts.
Nope.
Once you have the Webhook Endpoint set up in the Dashboard, Events will be sent to the URL you configured there.
There is no redirect involved, the Events are delivered straight from Stripe's server to your server.
i have to update the endpoint secret or smth?
Yes, the secret is available in the Dashboard, and is different than the one that stripe listen generates.
this is my test one
// This is your Stripe CLI webhook secret for testing your endpoint locally.
const endpointSecret = "whsec_cc81d147cf5ebcbd498fc8da79629f139c2d816fb1
can you give me a link where i have it from the prod one
?
starts with we_ ?
You shouldn't share that here, this is a public server.
You should generate a new secret since you shared that one here.
Ah, okay.
It's under the Webhook Endpoint you created here: https://dashboard.stripe.com/webhooks
Click on the one you created, then find where it says Signing secret and then click Reveal.