I am using stripe component in my application,when I tested with sk_test_1XXXXXX all payments were success,now I changed that key to another sk_test_2XXX,when iam trying to pay through this,getting an error "No such custome -cus_xxxxxxxxxxx".How to resolve this.
我在我的应用程序中使用条带组件,当我使用sk_test_1XXXXXX测试所有付款都成功时,现在我将该密钥更改为另一个sk_test_2XXX,当我试图通过此付款时,收到错误“没有这样的客户-cus_xxxxxxxxxxx”。如何解决这个。
2 个解决方案
#1
2
You created that customer with your 1st test key. These customers will be invisible (as well as any cards, subscriptions, etc) to your second test key.
您使用第一个测试密钥创建了该客户。这些客户将不可见(以及任何卡,订阅等)到您的第二个测试密钥。
Once you changed / moved key you'll need to recreate these test customers, they are not shared between test keys and accounts.
一旦您更改/移动了密钥,您将需要重新创建这些测试客户,它们不会在测试密钥和帐户之间共享。
#2
0
Your customer does not exist. Try login into the stripe dashboard and seeing if that customer exists.
您的客户不存在。尝试登录条带仪表板并查看该客户是否存在。
#1
2
You created that customer with your 1st test key. These customers will be invisible (as well as any cards, subscriptions, etc) to your second test key.
您使用第一个测试密钥创建了该客户。这些客户将不可见(以及任何卡,订阅等)到您的第二个测试密钥。
Once you changed / moved key you'll need to recreate these test customers, they are not shared between test keys and accounts.
一旦您更改/移动了密钥,您将需要重新创建这些测试客户,它们不会在测试密钥和帐户之间共享。
#2
0
Your customer does not exist. Try login into the stripe dashboard and seeing if that customer exists.
您的客户不存在。尝试登录条带仪表板并查看该客户是否存在。