#jose-ortega-winkua-sl_webhooks
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1351177112622727271
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there ๐ what is your code responding with if it's not sending a 200?
What exactly you call to respond to us will depend on the web framework you've chosen to implement, and is likely something you'll be more familiar with for your particular framework than we are.
Now I am not responding anything because ir doenst work
What doesn't work?
We don't have visibility into what's running on your endpoint, you'll have to provide us with a lot more context.
I am receiving the following response
Stripe.StripeException: The expected signature was not found in the Stripe-Signature header. Make sure you're using the correct webhook secret (whsec_) and confirm the incoming request came from Stripe. en Stripe.EventUtility.ValidateSignature(String json, String stripeSignatureHeader, String secret, Int64 tolerance, Int64 utcNow) en WINKUA.StripeWebHookHandler.Page_Load(Object sender, EventArgs e)
But I am sure that my scret key is correct
( NOTE : where whsec_xxxxxx = scret key )
This isn't your API secret key is it? If so that's at least part of the problem, that's expecting the signing secret for the webhook endpoint.
But since the Event you shared wasn't sent to any webhook endpoints, is it safe to infer that you're using the Stripe CLI to test the endpoint?
I see that's a livemode webhook endpoint, did you get this working in testmode first?
I don't understand what the problem is
My website is in production, so I can't put it in test mode.
You don't have to "put things in test mode" your account can always run in both modes based on which API keys you use, so you can make sure this all works in testmode first before moving it to livemode and impacting your actual flows:
https://docs.stripe.com/test-mode
We are correctly receiving the call from Stripe to our website with the Webhook but THE ONLY THING we are not able to do is respond with the 200 code to Stripe and this is what we need to solve
Are you the developer here?
Would it be possible to arrange a video call with a Spanish-speaking technician?
Yes
No, that is not supported.
You would need to do that on your end as we have no exposure to your back end system.