Stripe Error with Live Mode customer created with test key

Hi,

I use Bubble’s Stripe plugin and I tested it a lot in test mode and everything is good. When I deploy the version in live version, I have this error message when I try to pay: “Stripe error No such customer: cust_*******; a similar object exists in test mode, but a live mode key was used to make this request”. I checked all my keys, everything is correct…

I have read this topic (I have the same problem but his was about the plan) Stripe Error with Live Mode. So I deleted all my customers in live and test mode… Nothing changed, it still doesn’t work and I get the same error message…

Someone knows how to correct this problem please?

Thank you :slight_smile:

Kindly,
Alex

1 Like

@alexandre2 If plans are named same for test and live and the customer exists in live for this transaction, please submit a bug report with reproducible steps

I have the same issue however mine works in live mode and note test mode. My error reads:

"no such customer - a similar object exists in live mode, but a text mode key was used to make this request”

I feel certain the issue is that I just copied my live database to my test database (this is when the issue started happening)