#Harish-webhooks

1 messages · Page 1 of 1 (latest)

vague verge
#

Hi! Can you share your webhook ID (we_xxx)?

junior galleon
#

'we_1JhY6cJTyDnr7e6isYrMZSHR'

vague verge
junior galleon
#

Yes

#

Actually we are unable to connect to our dev and pre-prod servers from stripe test webhook. because of security checks that callis blocked by our side. So we thought of using Local Listners. we followed the document https://stripe.com/docs/stripe-cli/webhooks to enable local listners. I hope we should expect the our local code should not call stripe for the events like charge.succeeded and payment_intent.succeded. Perhaps the request should generate locally and update our system locally.
If my understanding is not correct, please guide me to do full test of stripe locally without getting a callback from stripe.

Use the Stripe CLI to forward Stripe events to the local webhook endpoint on your server.

vague verge
#

please guide me to do full test of stripe locally without getting a callback from stripe
I'm sorry, I'm not sure to understand that part. If you want to use webhooks, then you need callbacks from Stripe.

junior galleon
#

How can I do this..? Where to pass those IP address

vague verge
#

I don't know, it depends on your hosting provider. You can contact them directly and tell them to allow connections from these IP address.

junior galleon
#

Okay

rotund plaza
#

@junior galleon

junior galleon
#

We are not suppose to go with IP address due to security reasons ,so we thought of using local webhooks and call them locally.

#

Can I knw how to achieve it..?

rotund plaza
#

I'm not sure what you mean by 'local webhooks'?

junior galleon
#

Can u please check my first message

#

With snippet I mentioned the issue

rotund plaza
#

I mean, you could depend on the Stripe CLI on a local machine to process events but we would definitely never recommend that

#

It's not tested to handle production traffic like that, it's a development tool