#daredevil
1 messages · Page 1 of 1 (latest)
Is the variable you're passing when initialising the Stripe instance actually a sk_xxx value?
yes it is
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?
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
Can we try hardcoding the sk_xxx value temporarily?