如何通过计费:2.0.3库取消应用内测试购买

问题描述 投票:0回答:1

[我在我的应用中使用了来自Google的kotlin示例(com.android.billingclient:billing:2.0.3)。

由于我调用playStoreBillingClient.acknowledgePurchase(params)并尝试使用cosumeAsync(token)取消购买(在1.2版本中可以,所以我得到下一个错误:

/ **无法消费,因为该物品未被拥有* /int ITEM_NOT_OWNED = 8;

来自google docs https://developer.android.com/google/play/billing/billing_testing

“取消已完成的测试购买Google Play会为每个用户累积已完成的测试购买,但不会将其转入财务处理。测试购买不会自动取消,因此您可能想要手动取消测试购买以继续测试。为此,请在Play商店中打开应用页面。“

但是我应该在应用程序页面上做什么?

而且我也尝试从Google Play控制台退款

android in-app-billing
1个回答
0
投票

这对我有用,请在Play控制台中退款购买的商品,然后清除Google Play商店的缓存和数据

© www.soinside.com 2019 - 2024. All rights reserved.