#Siva_K-webhook-signature

1 messages · Page 1 of 1 (latest)

weary oracle
zealous dagger
#

We are using the Salesforce system

#

I didn't rreceive my webhook secreate key in the header

#

of Event

weary oracle
#

Your secret key is in the Dashboard page of the webhook

#

The event will include a Stripe-Signature header that you verify using that signing secret

zealous dagger
#

I got the webhook secret from dashboard not sure how to verify the webhook event header

#

do I need to make a API call to verify it>

#

?

weary oracle
#

That document outlines the process. Either using our client libraries or doing it manually!

zealous dagger
#

Here is the header of webhook event

#

RestRequest:[headers={Accept=/; q=0.5, application/xml, Cache-Control=no-cache, CipherSuite=ECDHE-RSA-AES256-GCM-SHA384 TLSv1.2 443, Content-Type=application/json; charset=UTF-8, Host=webhookstripe-developer-edition.ap27.force.com, Stripe-Signature=t=1657710788,v1=fc8cf4406ba361d3bbd49b67ee489a084950575b5ce4ac26a8177b3bb991b44c,v0=4ad7961279e7d048191f2cd7999742b81545f7c5639f8f57621c2c264edec7e6, User-Agent=Stripe/1.0 (+https://stripe.com/docs/webhooks), X-B3-Sampled=0, X-B3-SpanId=3490f1d650502658, X-B3-TraceId=3490f1d650502658, ...}, httpMethod=POST, params={}, remoteAddress=13.235.122.149, requestBody=Blob[8722], requestURI=/api/stripe/webhooks, resourcePath=/services/apexrest/api/stripe/webhooks]

#

webhook secrete

weary oracle
#

You shouldn't share your whsec_xxx

#

Ok, and are you using one of our SDKs?

zealous dagger
#

no

elder grove
#

ok, so what's the question now?