Playstore订阅 - 测试策略 [英] Playstore subscriptions - testing strategy

查看:185
本文介绍了Playstore订阅 - 测试策略的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

场景: 我是在完成我的谷歌playstore在应用内计费实施的边缘。我使用,以每月或每年订阅我的消费者收费。

Scenario: I am on the verge of completing my google playstore in-app billing implementation. I am using a monthly or yearly subscription in order to charge my consumers.

问题:我似乎无法找到一个方法来去除激活状态的订阅,因为取消只是发生停止计费。这不允许QA无需为每个测试创建一个帐户,或者等到认购期结束彻底测试的购买过程。

Problem: I can't seem to find a way to remove a subscription from active state, since cancellation simply stops the billing from occurring. This doesn't allow QA to thoroughly test the purchase procedure without creating an account for each test, or waiting until the subscription period ends.

问题:我错过了或者说错了什么吗?如果是这样,是什么呢?如果没有,应该怎样做才能让QA做适当的测试?

Question: Have I missed or am wrong about something? If so, what is it? If not, what should be done to allow QA to do proper testing?

推荐答案

据我从你的问题已经明白,

According to what I have understood from your question,

您不能从测试帐号测试订阅。使用虚拟产品的​​谷歌玩不提供预约检测。你必须测试在真实的产品。

you can not test subscription from the test account. Google play doesn't provide subscription testing using dummy product. you have to test on the real product.

现在问题出现的我怎么可以测试订阅

您可以通过购买真正的产品检查预订和使用的购买状态API 从你的服务器。

you can check subscription by purchasing real product and check product status or purchase cancellation using the purchase status api from your server.

您还可以从下面的链接给出了分步取消购买状态的详细信息:

you can also get more information from the given link below for the step by step cancellation purchase status:

1)<一href="http://stackoverflow.com/questions/11115381/unable-to-get-the-subscription-information-from-google-play-android-developer-ap">link1 2)<一href="http://stackoverflow.com/questions/12427479/am-i-getting-the-steps-right-for-verifying-a-users-android-in-app-subscription">link2

您可以简单地查询每一天,并检查您的订阅是否有效,并得到它的到期日期。

you can simply query every day and check your subscription is valid or not and also get it's expiration date.

我也有另外一个选择与出支付对你的真实产品的任何费用,您可以设置试用期,在谷歌控制台和试用期之前结束了从谷歌Play商店菜单取消订阅 - > MyApp的 - > Subsciption和取消的产品,并检查上面的链接给定的程序。

I also have one other option with out pay for any charges on your real product, you can set trial period in the Google console and before trial period ends up cancel subscription from the Google play store Menu -> MyApp -> Subsciption and cancel product and check above procedure given in the links.

编辑:

重要提示:在任何情况下,你必须不断地提供内容   你的用户通过他们的订阅购买,换作   长期的任何用户都能够访问它。也就是说,你不能删除任何   而任何用户仍然有活动的订阅用户的内容   它,即使该订阅将终止在的结束   目前的结算周期。一个订户有权删除内容   访问将导致处罚。请参阅政策文件   了解更多信息。

Important: In all cases, you must continue to offer the content that your subscribers have purchased through their subscriptions, for as long any users are able to access it. That is, you must not remove any subscriber’s content while any user still has an active subscription to it, even if that subscription will terminate at the end of the current billing cycle. Removing content that a subscriber is entitled to access will result in penalties. Please see the policies document for more information.

下面的链接了解更多信息检查:

more information check below links:

1)   的http://developer.android.com/google/play/billing/billing_subscriptions.html#cancellation

2) https://support.google.com/googleplay/answer/ 2476088?HL = EN

3)    https://support.google.com/googleplay/android-developer /答案/ 140504?HL = EN

您不能进行等待,直到消除潜艇的产品后,预订过程周期完成这样做了,剩下的也就是免费试用版版本的唯一途径,这只是顺便提供我们测试的产品中取消该产品立即取消您取消订阅试用期后,就不会继续下去,直到连试用期结束。

You can not done this with out waiting until the subscription process cycle completes after cancellation of subs product, the only way remaining which is Free trial version it's only the way to provide us to test for the product cancellation in which product cancel immediately after you cancel subscription trial period, it will not continue until even trial periods ends.

点击以下链接了解更多信息检查:

more information check below link:

http://developer.android.com/google/play/billing/billing_subscriptions.html#administering

我认为这是更好的办法,因为在试用期,你应该去   与实际的信用卡付款过程,但你不需要   支付任何它。谷歌播放记录的交易为$ 0.00包装的   订阅过程。如果你取消订阅的你   不应支付任何测试,不过是我不知道免费试用版   在发布应用程序之前的工作,但它只能得到通过努力而已。

And I think it is better way because in the trial period you should go with the actual credit card payment process but you doesn't need to pay anything for it. Google play record the transaction as $0.00 for the subscription process. And if you cancel the subscription the you should not pay anything for testing, but yes I am not sure free trial version is worked before you publish the app but it is only get by efforts only.

结论:

在当前的API是不可能测试subcription产物像   正常的产品,如果用户已经取消订购产品   那么你必须等待购买相同的产品,直到   订阅周期已期满,不存在另一种方法,如果   订阅周期是怎么回事,你可以测试相同的产品   再次之前订阅循环结束。如果你仍然想测试   同样的产品,那么你必须选择其他帐户   测试它,或另一种方式是免费试用,你将不会有任何收费   直到你的免费试用期届满或在取消订阅   期间和测试帐户之前发布的应用程序,你会被退还   购买产品均按后自动14天我   知识。

In the current api it is not possible to test subcription product like normal products and if user has been cancel the subscription product then you have to wait to purchase the same product until the subscription cycle has been expired, there is no another way if the subscription cycle is going on and you can test for the same product again before subscription cycle ends. And if you still want to test for the same product then you have to choose another account for testing it or another way is Free trials, you will not be any charged until your Free trials period expired or cancel subscription in that period and for the testing account before publish the app you will be refunded automatically after 14 days of purchased product according to my knowledge.

希望这本书能解决你的问题。

Hope it will solve your problem.

这篇关于Playstore订阅 - 测试策略的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆