如何取消Android上的应用内测试购买? [英] how to cancel an in-app test purchase on android?

查看:101
本文介绍了如何取消Android上的应用内测试购买?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

直到2016年6月20日,我才可以取消在我的应用中完成的测试购买. 通过相同的测试帐户进行多次应用内购买(非消耗品)可轻松开发和测试代码,而不会产生太多麻烦.

Until june 20th 2016 i was able to cancel test purchases done in my app. Doing multiple in-app purchases (not consumable) from the same test account made it easy to develop and test the code without too much hazzle.

2016年6月20日之后,购买未显示在我的商人帐户中, 我无法从我的测试帐户中进行1次以上的购买.我得到的只是:您已经拥有此商品"消息.

After 20th june 2016, the purchases did not show in my merchant account and i was unable to do more than 1 purchase from my test account. All i got was the: "you already own this item" message.

我已向Google开发者支持小组记录了一个请求,答案为:

I logged a request to the google developer support group and the answer was:

从2016年6月20日开始,我们将测试购买更改为一次性应用内购买(IAP). 以前,一次性IAP的测试购买会生成订单ID.从2016年6月20日开始,一次性IAP不会生成正式的订单ID(如果有的话),并且不会出现在Merchant Center中.此行为已经适用于订阅IAP. 您可以在Android开发者帮助中心了解有关测试应用内结算的更多信息:

Beginning June 20, 2016, we changed test purchases for one-time in-app purchases (IAPs). Previously, test purchases for one-time IAPs generated order IDs. Starting June 20, 2016, one-time IAPs do not generate official order IDs (if at all) and will not appear in the Merchant Center. This behavior already applies to subscription IAPs. You can learn more about testing in-app billing in the Android Developers Help Center: https://developer.android.com/google/play/billing/billing_testing.html#testing-purchases

好吧..所以我去了上面提到的链接,那里有一段: 取消已完成的测试购买 指出:

allright.. so i go to the mentioned link and theres a section there: Canceling completed test purchases which states:

Google Play会为每个用户累积已完成的测试购买,但不会将其转移到财务处理中. 在某些情况下,您可能想手动取消购买测试以继续测试.为此,请在Play商店中打开应用页面.如果要取消的测试购买是订阅,则还可以使用Purchases.subscriptions API的cancel()方法. 重要提示:Purchases.subscriptions API的return()和revoke()方法不支持测试购买.

Google Play accumulates completed test purchases for each user but does not pass them on to financial processing. In some cases, you might want to manually cancel a test purchase to continue testing. To do so, open the app page in the Play Store. If the test purchase that you want to cancel is a subscription, you can also use the cancel() method of the Purchases.subscriptions API. Important: The refund() and revoke() methods of the Purchases.subscriptions API don't support test purchases.

所以我转到Play商店中的应用页面...该怎么做?该网页未说明我在那应该做什么.有人知道吗?

So I go to the app page in play store...and do what exactly? the webpage does not state what i am supposed to do there. anyone know?

它确实说:您还可以使用Purchases.subscriptions API的cancel()方法.

这表明使用cancel()方法不是唯一的方法.

which indicates that using the cancel() method is not the only method.

如何解决此问题而不在我的应用中添加其他代码?

How to solve this without adding additional code in my app?

推荐答案

我进入Google Play控制台主页面,然后单击订单管理".在此之下,我能够选择所有测试购买并退款.我是该应用程序的主要开发人员,因此可以访问.如果您是测试人员,则可能必须与支持团队联系,并要求他们退还您的订单.

I went into the main Google Play Console page and clicked on Order Management. Under that I was able to select all test purchases and Refund them. I'm the primary developer of the app so I have access. If you are a tester you'd probably have to contact the support team and request that they refund your order.

这篇关于如何取消Android上的应用内测试购买?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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