Stripe Stripe error: You did not provide an API key

Hi All,

I’m trying to get my LIVE app to work with Stripe. My Test/Dev app works with the Test/Dev Stripe. However, when I click on my subscribe button in my LIVE app I get the below 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’). See Stripe API Reference for details, or we can help at https://support.stripe.com/.

I’ve read lots of posts and done a bunch of googling but I still can’t seem to figure out the issue. Any suggestions would be greatly appreciated as this is the last blocker to go live on my app.

I’ve included the setup with my plugin.

Popup error:
Screen Shot 2023-04-21 at 4.34.11 PM

Workflow:

I am facing the same issue. Had anyone responded with the solution yet?

I spoke to bubble support and confirmed that the only way to make this work in dev and prod is to dynamically set the plan id. Follow the below thread.

Following this thread, I am seeing the same issue!

What if we use one-off “Charge the current user” payment?

Hi @junkemail1025

I’ve managed to resolve this issue by adding the following to the API Connector:

I hope this resolves the issue for you as well.