#jose-ortega-winkua-sl_webhooks

1 messages ยท Page 1 of 1 (latest)

unkempt cosmosBOT
#

๐Ÿ‘‹ 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.

round flaxBOT
stiff geyser
#

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.

fallow kraken
#

Now I am not responding anything because ir doenst work

stiff geyser
#

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.

fallow kraken
#

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

stiff geyser
#

( 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?

fallow kraken
#

I use that scret key

unkempt cosmosBOT
stiff geyser
#

I see that's a livemode webhook endpoint, did you get this working in testmode first?

fallow kraken
#

I don't understand what the problem is

fallow kraken
stiff geyser
#

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

fallow kraken
#

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

copper heath
#

Are you the developer here?

fallow kraken
#

Would it be possible to arrange a video call with a Spanish-speaking technician?

fallow kraken
copper heath
#

No, that is not supported.

You would need to do that on your end as we have no exposure to your back end system.