#Steph-secret-key
1 messages · Page 1 of 1 (latest)
You want to send your publishable key to your client side
It should look like your secret key but should look like pk_... instead of sk_...
Make sure the sk_... is never on your client side
You should be able to store it and send it to your client side the same way. It is just important that the publishable key (pk_...) is always used client side
I used sk_live in PHP (so, with the server), do I have to use the pk_live with javascript ?
I read the documentation, and I didn't understand how to store the keys, and which keys are necessaries
Yes, both are necessary, use sk_live server-side, andpk_live for your client side javascript
Oh YES, IT WORKS 🥳
Thank you very much @eager tulip 🙏
Awesome! Glad you got it working!