Forum Documentation Showcase Pricing Learn more

Stripe.js Setup documentation


#1

I’ve stalled out while trying to set up Stripe.js. I know what my “Publishable Key” is but I am not sure what to put in for “Authorization (shared headers)” The documentation is unavailable right now. I’m sure I’m missing something easy. Can someone point me in the right direction?


#2

Hi @subtlemonsters, in the Plugin Stripe.js you should use first your dev Key and Authorization before inserting the Real Keys and dealing with real money.

I’ll explain you how you can do this:

  1. Log in your Stripe Dashboard, and activate the “Viewing test data”.

  2. When viewing test data is active, click on “Developers” and go to Api Keys. In this point you should view the “Publishable key” and the “Secret Key”

  3. Go to Bubble and insert those keys in the Stripe.js like in the image down below. Keep in mind that in “Authorization (shared headers) dev” you should type Bearer before the key. You can see this in the photo below.

After this, I’ll recommend you to start reading the Stripe Documentation

Hope that’s help :slight_smile:


#3

Thanks! that is the piece I was missing.