Stripe test to live mode

Hi all,

I have been integrating Stripe subscriptions into my app using the (great) course from Gregory (https://www.youtube.com/watch?v=TbAX5-LV57E&list=PLoNVJrdvQQYlHQF8v0t32UCUCQ5NKr4b4&pp=iAQB) )

Unfortunately, in the course he only uses test data. I tried switching over from test to live data but I keep running into the same issue.

My webhook fails and returns the following:

{
"statusCode": 
400,
"message": 
"Stripe error: No such invoice: 'in_1Q3E0qDQlGN2Np0EJCP4y024'; a similar object exists in live mode, but a test mode key was used to make this request.",
"args": {
"bubble_code": 
"1727343049573x327649555924646400",
},
}

I’m pretty sure I changed everything from test to live that needed to be changed.

Any help would be highly appreciated!

Thanks.

I’m using the API Connector plugin and followed every step of the video. In test mode it worked fine.

Hi,
Your response mentions that you are still using test key. Perhaps that’s the reason?

This topic was automatically closed after 70 days. New replies are no longer allowed.