简体   繁体   English

条带中没有此类客户错误

[英]No such customer error in stripe

我在应用程序中使用条纹组件,当我用sk_test_1XXXXXX测试所有付款都成功时,现在我将密钥更改为另一个sk_test_2XXX,当我尝试通过此付款时,出现错误“没有这样的用户-cus_xxxxxxxxxxx”。如何解决这个。

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. 更改/移动密钥后,您将需要重新创建这些测试客户,而测试密钥和帐户之间不会共享它们。

Your customer does not exist. 您的客户不存在。 Try login into the stripe dashboard and seeing if that customer exists. 尝试登录到条纹仪表板,查看该客户是否存在。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM