#Empress Brosephine

1 messages ยท Page 1 of 1 (latest)

spring cobaltBOT
fleet gull
#

hello again lmao

delicate jacinth
#

We can use the same thread in the future ๐Ÿ™‚

fleet gull
#

ohhh okay my bad

delicate jacinth
#

When you say "secret key" here do you mean Publishable key?

#

Oh sorry

fleet gull
#

no worries

delicate jacinth
#

You mean just hitting the Stripe API

fleet gull
#

yeah

#

trying to hit it with axios in node

delicate jacinth
#

No doesn't need to be hashed

#

But would recommend using our libraries instead

fleet gull
#

weird okay - in postman if I enter my sk i.e :

 -u sk_
  

postman hashes it like (removed some characters):


#

if I try it straight up in axios I get a invalid api key error

delicate jacinth
#

Please redact that

#

Even though it is your test key it still allows people to access your account

#

And this is a public server

fleet gull
#

gotcha ok

#

all redacted

delicate jacinth
#

Thanks

fleet gull
#

Anyways yeah, wasn't sure why it was doing that lol

delicate jacinth
#

How are you passing in Axios? Are you using Bearer Auth?

#

We show there