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 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.