#Hanley

1 messages · Page 1 of 1 (latest)

lament impBOT
paper flume
#

Do you mean Stripe Dashboard or your payment integration?

fallen pine
#

yes

paper flume
#

Sorry, I'm not sure which one are you referring to? Stripe Dashboard OR the payment integration in your website?

fallen pine
#

stripe dashboard

#

I go to developers in my stripe dashboard and turn on the test switch

#

every time I use my webhook test key, I get a signature error

#

then I notice that it has automatically turned live mode back on

#

I got the test environment to work using the cli and the key that it shows in the cli environment

paper flume
#

Could you share the full error message of signature error?

fallen pine
#

sorry, I don't have it, it says that the signature does not match the expected signature

#

you know how when you do the cli environment for testing it provides a key in the terminal?

#

when I use that key, it works

#

but when I get the key from the webhook dashboard, it gives the signature error

#

I am going to try it live tomorrw

#

so maybe not much you can do for me now

paper flume
#

Thanks for sharing the information

fallen pine
#

since I sent my first message, I got the cli with the key provided in the terminal working

paper flume
#

I believe the signature you're referring to here is the Webhook signature validation right?

fallen pine
#

yes

#

wsec_xfasdfoihjdasl;j....

paper flume
#

The Webhook signature on CLI is different from the webhook signature that you created the endpoint in the Dashboard

fallen pine
#

the one given in the terminal is different than the one in the dashboard

#

the one from the dashboard does not work

#

I have tried to delete it and generate a new one...all kinds of things

paper flume
#

Do you still listen to events locally while testing your Webhook endpoint set in the Dashboard? When you have both turning on, events will be sent to both local endpoint and Webhook endpoint in the Dashboard

fallen pine
#

no, I haven't tried that

paper flume
#

Different endpoints have its own signature. If they share the same code/server, one of them will fail

fallen pine
#

huh, so maybe I had on local testing when I was trying the one from the dashboard?

#

so I just went into my dashboard

#

the test mode is off

#

last time I was here, I had it turned on

paper flume
#

I don't know if this is the case for you. If both local endpoint and Webhook endpoint, it might be the case

fallen pine
#

why would it keep turning off though?

paper flume
#

For Dashboard related issue, I'd recommend reaching to Support as this chat focused on developers and technical integration questions: https://support.stripe.com/contact

fallen pine
#

ok, thanks for your help