请不要在未阅读所有内容的情况下将其作为重复项关闭。
案例总结: 两个谷歌测试账户用于使用相同应用构建的 IAP 交易。一个有效,一个无效。两个谷歌账户都有有效的信用卡,可以从其他应用程序购买 IAP。
更多详情: 我们向测试人员发布了一个新的 Unity-Android 版本,我们有 2 个不同的谷歌帐户用于 IAP 测试。令人惊讶的是,一个帐户可以毫无故障地成功进行测试购买,而另一个帐户总是收到:“您请求的商品无法购买。”
非工作帐户过去曾用于测试 IAP,我们没有遇到任何问题。谷歌群组没有变化,该帐户仍然是我们这个应用程序测试组的成员。
有谁知道为什么它在一个谷歌帐户中不起作用,而在另一个帐户中却没问题?
注意:
- 使用了相同的构建。
- 这两个帐户都成功地使用了旧版本的 IAP。
- 这两个帐户仍然是应用测试组的成员。
- 该非工作帐户最近用于在另一款游戏中进行购买,并且工作正常。
我们缺少什么?
最佳答案
我向 Google 支持发送了一张票,他们终于回复了:
We recently updated in-app product testing requirements. Each tester needs to opt-in to your alpha or beta test before they can test in-app products. If they are not opted-in they will see an error that the in-app item is not available for purchase.
发件人:http://developer.android.com/google/play/billing/billing_testing.html:
Important: To test in-app products or make in-app purchases in your alpha or beta channel app, each tester needs to opt-in to your app’s alpha or beta test. On your test’s opt-in URL, your testers will get an explanation of what it means to be a tester and a link to opt-in.
关于Android InApp Billing : The item you requested is not available for purchase. 在不同的谷歌账户上不一致,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32582386/