Hello everyone! I am trying to integrate my app with the Stripe API and when I want to simulate a payment I am getting this error:
Stripe error: You did not provide an API key. You need to provide your API key in the Authorization header, using Bearer auth (e.g. ‘Authorization: Bearer YOUR_SECRET_KEY’).
I already added the Public and Secret keys ( I am using the test option) and also I added the API connector with the Bearer SK. Any idea of what could be the issue? If I use the Preview version of my app it is working but it fails when I use the live version, of course I deployed the last version to live.
You need to create a new API call for live version where you need to add live secret key and publishable key and Authorization. Add these 2 keys in stripe plugin as well.
Try it, it will work.
@cristobal.alonso.23 Dont creat a new call.
There is two option one for development which is in bottom and other for live. Which is on top right to authorization key.
Use past you live key there and dev on bottom one.
Live key will start with: sk-live … And test with sk-test.
Bubble will automatically use each key depending on environment.
Yeah, I though there was a way to use my test stripe account to validate the live version of my site. So if I want to test a payment in the live version the only way is using a real card number, right? I tried the stipe dummy card number for master card (424242…) and did not work.