本文介绍了测试订阅功能的应用内结算的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以测试应用内结算的订阅功能?我尝试使用保留的产品ID进行测试(android.test.purchased),但它给出了错误,如找不到项目。我正在使用应用内结算版本3.我无法从网络中找到确凿的答案。任何帮助表示感谢。

解决方案

截至2015年2月/ 3月,应用内订阅也可以在Android上测试。现在,具有测试权限的Google帐户(在开发者控制台的设置菜单中配置)将收到消息

这是一个测试订阅。它会每天重复。在尝试购买应用内订阅时,您不会被收取费用。



这也意味着所有订阅似乎都是每日结算。您仍然会收到一封正常的Google Play订单收据电子邮件,但其前缀为单词 Test :



测试:您的Google Play订单收据从2015年3月12日开始



另外,如果您仔细查看此电子邮件,请注意,订单号是随机字母串,而不是常规订单号,如。



订单号:lhjelkffelbnmmcmklbkhkbd


Is it possible to test subscription feature of In-app Billing? I tried using reserved product IDs for testing(android.test.purchased), But it gave error like 'item not found'.I am using In-app Billing Version 3.I could not find a conclusive answer from the web. Any help is appreciated.

解决方案

As of February/March 2015, in-app subscriptions can also be tested on Android. Now, Google accounts with testing access (configured in the Settings Menu of the Developer Console) will receive the message

This is a test subscription. It will recur daily. You will not be charged when trying to buy in-app subscriptions.

This also means that all subscriptions seem to be "billed" daily. You will still receive a normal Google Play Order Receipt Email but it will be prefixed by the word Test:

Test: Your Google Play Order Receipt from Mar 12, 2015

Also, if you look inside this email, you will notice that the order number is a random string of letters, instead of a regular order number as described at http://developer.android.com/google/play/billing/billing_subscriptions.html#payment.

Order number: lhjelkffelbnmmcmklbkhkbd

这篇关于测试订阅功能的应用内结算的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-14 20:14