测试模式下存在类似的对象错误

Has anyone else gotten this error when, after having used the test api keys, tried to subscribe using the same user with the live keys in place?

a similar object exists in test mode, but a live mode key was used to make this request.

1 个赞

Yeah, I remember having that problem. Can’t recall how I got around it - think it was simply by deleting the test stuff.

It did strike me as a bit odd, but it is definitely a Stripe thing and nothing to do with the plugin.

3 个赞

I works the you need to delete the test records from rails. Don’t know how to do that offhand.

That sounds like a significant bug! I can’t recall if I did that (might well have), but that really shouldn’t be necessary.

It seems like an edge case that you’d have a test user in test mode that would then be a real paying customer.

1 个赞