#Sai Harsha

1 messages · Page 1 of 1 (latest)

sudden boneBOT
torpid matrix
#

Hi! Let me help you with this.

#

v0 is for Test mode events, v1 is for Live mode.

royal boneBOT
#

This thread has been archived. If you need help with anything else please ask in #dev-help or contact Stripe Support: https://support.stripe.com/contact

restive palm
#

You should always checkout against the v1 signature. Ignore v0

sage thistle
#

But in the docs, it was mentioned to check v0 in test mode?

restive palm
#

Does it?

sage thistle
restive palm
#

All it says it that we send a v0 signature to aid with testing

#

Not to check it

sage thistle
#

okay, Thank you!

restive palm
#

To be clear, each signature corresponds directly with the signing secret for the webhook

#

So you may roll a new signing secret and have 2 signatures in your live event headers

#

Until the old secret expires