Dead in the water :: production.ERROR: The signature is invalid. #152
-
I feel like I'm so very close, but thwarted by this error. My site works fine on local dev, but when committed and pushed to my live server, it fails the signature test. I've been working on this for days and, because it's on the live server, it takes ages to get anywhere to see debugging results. Has anyone any suggestions as to how to identify why I'm getting this error and how to test for/remedy this? The issue seems to be coming from I get the following error, which prompts a 500 response:
I've verified my secret code is correct in my ENV file. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
OMG!! I am such an idiot. Apologies for being an idiot. I lost a week debugging why this didn't work, and it did all along (if I had provided the correct secret key) |
Beta Was this translation helpful? Give feedback.
-
No worries, we've all been in that situation. Glad you found the solution! |
Beta Was this translation helpful? Give feedback.
OMG!! I am such an idiot.
I mention above I verified my secret code, but had the wrong one! I didn't change out the Stripe CLI secret key for the one provided in the Stripe dashboard for the specific webhook
<slapping forehead!>
. I was sure I had done that, but I hadn't so I kept double-checking the wrong one.Apologies for being an idiot. I lost a week debugging why this didn't work, and it did all along (if I had provided the correct secret key)