I was hoping someone could help.
im switching my stripe from test mode to live mode.
My platform runs on vercel and supabase
I’ve moved all the products on stripe into live
I’ve updated vercel env variables to replace the test keys for live keys for all 3 of the required keys:
STRIPE_WEBHOOK_SECRET
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY
STRIPE_SECRET_KEY
I’ve updated the stripe_price_id column in the membership_tiers table of the database to include the new live price ids of the products in stripe as the price ids change from test to live.
When i went to test a live subscription payment, I’m getting the following messages in the browser:
Failed to update membership tier: No such price: ‘price_ID’; a similar object exists in live mode, but a test mode key was used to make this request… Please try again.
I cleared cache and got this message:
Failed to update membership tier: stripe.redirectToCheckout: the provided sessionId is for a live mode Checkout Session, whereas Stripe.js was initialized with a test mode publishable key… Please try again
What could be causing this?
I 100% have the live keys in vercel as env entries - and I’ve tried a few redeploys.
Any support would be greatly appreciated.