#CryptoFidget

1 messages · Page 1 of 1 (latest)

dim kernelBOT
acoustic heath
#

Hi there, this error usually happen if your application is using an incorrect webhook secret.

supple needle
#

But before (last week) it worked fine

#

I did not change anything in the code and now it's not working anymore

#

can you tell me with which characters the webhook secret starts? (for the Live payment)

#

is it:

we_1LBc....

or

whsec_4....

??

acoustic heath
#

a webhook secret starts with whsec_

supple needle
#

and can it be that Stripe changes/updates this whesec_ from time to time automatically?

#

I see in my code there is a different whsec_ than that on the dashboard

acoustic heath
#

did you get this webhook secret from Stripe CLI?

supple needle
#

no from the dashboard (stripe website, developpers page..)

acoustic heath
#

Did you get the webhook secret from test mode?

supple needle
#

I think I got in my code the TEST mode webhook secret - but I am using the LIVE api key

#

sooo strange, this 100% worked last week ..

#

let me swap it and test again.

acoustic heath
#

You can't use a test mode webhook secret in live mode

supple needle
#

don't close the ticket please, I am testing it the right way now.

#

OK it worked. It was the missmatch between Live and TEST mode. Strange I didn't change and also in the git history I don't see any changes.

What ever: Thank you it worked. ❤️

acoustic heath
#

No problem 🙂