简体   繁体   English

如何在Google Play开发者控制台中取消测试订阅

[英]How to cancel test subscription in Google play developer console

I initially had test accounts for testing in -app purchases in android but I since removed the testing accounts and moved the app from beta to production. 我最初有测试帐户在Android中测试-app购买,但我删除了测试帐户,并将应用程序从测试版转移到生产。 Both test accounts have attempted to cancel their test subscriptions through the Google play app according to documentation. 根据文档,两个测试帐户都试图通过Google Play应用取消测试订阅。 Although the Google play app says the subscription had canceled, it still remains active. 虽然谷歌播放应用程序说订阅已取消,但它仍然保持活跃状态​​。 Even with trying to uninstall the app. 即使尝试卸载该应用程序。 How can I remove the test subscriptions? 如何删除测试订阅?

I have removed the beta test apk from the Play Store and disabled testing. 我已从Play商店中删除了beta测试apk并禁用了测试。 I have removed all testing accounts from the licensing page as well as the authorized beta testers list. 我已从许可页面以及授权的Beta测试人员列表中删除了所有测试帐户。 Beta test users are still reporting having an active (daily) test subscription. Beta测试用户仍在报告具有有效(每日)测试订阅。 No matter how many times they hit cancel, it still renews the next day. 无论他们取消多少次,它仍然会在第二天更新。 I need to get this removed. 我需要删除它。 It is hindering our development process. 它阻碍了我们的发展进程。

Assuming you're testing with real transactions where you got a token when you subscribed, you can try cancelling subscription using Google Play Developer API > Cancel Subscription 假设您正在测试订阅时获得令牌的真实交易,您可以尝试使用Google Play Developer API 取消订阅 > 取消订阅

Purchases.subscriptions: cancel Purchases.subscriptions:取消

 Cancels a user's subscription purchase. The subscription remains valid until its expiration time. 

HTTP request HTTP请求

POST https://www.googleapis.com/androidpublisher/v2/applications/ packageName /purchases/subscriptions/ subscriptionId /tokens/ token :cancel POST https://www.googleapis.com/androidpublisher/v2/applications/ packageName / purchases / subscriptions / subscriptionId / tokens / token :取消

where 哪里

packageName string The package name of the application for which this subscription was purchased (for example, 'com.some.thing'). packageName string购买此订阅的应用程序的包名称(例如,“com.some.thing”)。

subscriptionId string The purchased subscription ID (for example, 'monthly001'). subscriptionId string购买的订阅ID(例如,'monthly001')。

token string The token provided to the user's device when the subscription was purchased. 令牌字符串购买订阅时提供给用户设备的令牌。

The API requires authorisation . API需要授权

Also check this 还检查一下

Canceling completed test purchases 取消已完成的测试购买

Google Play accumulates completed test purchases for each user but does not pass them on to financial processing. Google Play会为每个用户累积完成的测试购买,但不会将其传递给财务处理。

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. 为此,请在Play商店中打开应用页面。 If the test purchase that you want to cancel is a subscription, you can also use the cancel() method of the Purchases.subscriptions API. 如果要取消的测试购买是订阅,您还可以使用Purchases.subscriptions API的cancel()方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 Google Play Developer Console 中取消待发布? - How to cancel pending publication in Google Play Developer Console? 如何取消 Google Play Developer Console 上的待定发布? - How to cancel a pending publication on Google Play Developer Console? 取消使用Billing API的Google Play订阅? - Cancel Google Play subscription with Billing API? Google Play应用内订阅项 - 在开发者控制台中切换活动和非活动状态 - Google Play In-App Subscription Items - Toggle Active and Inactive in Developer Console 如何使用 Google Play Developer API 将 google play purchase 与相应的订阅基础计划和优惠相关联? - How to link google play purchase with the corresponding subscription base plan and offer using Google Play Developer API? 如何向Google Play控制台添加第二个In App订阅? - How do I add a second In App Subscription to Google Play Console? 如何在 Google Play 管理中心拒绝/取消/删除 Beta 版本 - How to reject/cancel/delete a Beta release in the Google Play Console Google开发者控制台-测试帐户 - Google developer console -Test account 如何从 Google Play Developer Console 中删除草稿? - How to delete a Draft from google play Developer Console? 如何将自定义日志发送到Google Play开发者控制台? - How to send custom logs to Google Play Developer Console?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM