#daredevil

1 messages · Page 1 of 1 (latest)

rapid stoneBOT
somber frost
#

Is the variable you're passing when initialising the Stripe instance actually a sk_xxx value?

random sonnet
#

yes it is

somber frost
#

The error suggests it's not. Can you please double check. Also, the notation of that var is weird: is it actually stripeKey['secretKey'] or did you just redact something?

random sonnet
#

I printed it out to ensure that it's correct. My way of writing js might be a bit strange since it's not my primary language but I can ensure you that the variable is correct

somber frost
#

Can we try hardcoding the sk_xxx value temporarily?

random sonnet
#

sure

#

Think I found the issue, was using test key in non test mode. Thank you for your time, sorry about that.