Google Play帐单:如何模拟“帐户保留"状态(在调试/沙盒模式下) [英] Google Play Billing : how to simulate 'Account Hold' status (in debug/sandbox mode)

查看:522
本文介绍了Google Play帐单:如何模拟“帐户保留"状态(在调试/沙盒模式下)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

2020年11月之前,Google Play上的Android应用必须管理帐户保留"状态.

Before November 2020, an Android app on Google Play has to manage 'Account Hold' status.

https://developer.android.com/distribute/play-policies

问题是:如何模拟帐户保留"状态,以便我可以检查我的应用是否正确管理此状态?

Question is: how to simulate 'Account Hold' status so that I can check that my app manages properly this status ?

据我所知,文档中没有提及它: https://developer.android.com/google/play/billing/test

It is not mentioned in the doc as far as I can see: https://developer.android.com/google/play/billing/test

谢谢.

推荐答案

我们今天发现的内容:

  1. 使用测试卡,始终批准开始订阅
  2. 转到电话设置>帐户>您的名字>您的Google帐户>付款>管理订阅(或Play商店>订阅)
  3. 更新该订阅的付款方式,以使用测试卡,始终拒绝
  4. 30分钟的续订计时器用尽后,您将获得保留"推送通知
  5. 查看您的应用,查看其运行情况
  1. Use Test Card, Always Approves to begin the subscription
  2. Go to phone settings > Accounts > your name > your Google account > Payments > Manage Subscriptions (or Play Store > Subscriptions)
  3. Update the Payment Method for that subscription to use Test Card, Always Declines
  4. After the 30min renewal timer runs out, you'll get a "On Hold" push notification
  5. Look at your app, see how it's doing

此保持状态仅持续约5分钟,然后恢复为已取消.因此,如果您想测试应用程序对解决其卡问题的用户的反应,请确保在该时间段内将付款方式更新为测试卡,始终批准,否则您需要重新开始.

This On Hold state only lasts for about 5mins before reverting to Canceled. So if you want to test how your app reacts to users fixing their card problem, make sure you Update your payment method to Test Card, Always Approves within that time window or you'll need to start over.

这篇关于Google Play帐单:如何模拟“帐户保留"状态(在调试/沙盒模式下)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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