在 google playstore 中将订阅设置为非活动状态

Setting subscription to inactive in google playstore

在开发 android 应用程序时,我在 google 游戏控制台中添加了两个测试订阅,价格有些虚构。现在该应用程序可以正常运行,并且会向 Play 商店内的用户显示测试订阅价格:

我试图在 Play 控制台中停用测试订阅,但此按钮未激活:

*(文字说明无法随时停用有效订阅。)

谁能帮我去掉不需要的订阅?

-提前致谢,德克

联系 google 支持后,我得到了以下回复:

Thanks for contacting Google Play Developer Support.

As you've noticed, no subscription can be deactivated once created. You can hide your current subscriptions by removing reference to them in the code, but the Play Store Listing for your app will always include the prices of such subscriptions because they exist in the Play Console. This is working as intended. It is recommended that you never use 'fictional' (as you put it) prices when testing your app's functionality.

The only way around this would be to start over with a new app and package name, taking care not to create any fictional subscription items.

不是我想要的答案。

不要浪费时间尝试 google play developer api rkunboxed 提到的方法,它不起作用。

您将收到以下回复:

{
  "error": {
    "code": 403,
    "message": "Deleting a published subscription is not allowed.",
    "status": "PERMISSION_DENIED"
  }
}

详情请见:

https://developers.google.com/android-publisher/api-ref/rest/v3/inappproducts?authuser=2