问题描述
我们正在研究背靠背服务。为了获取子状态,我们利用标准 API 调用(资源:SubscriptionPurchase)来获取当前子状态。
我们遇到的最大挑战是如何正确解释状态响应中的 cancelReason 值。
"countryCode": string,"developerPayload": string,"paymentState": integer,"cancelReason": integer,"userCancellationTimeMillis": string,"cancelSurveyResult": {
object (SubscriptionCancelSurveyResult)
google提供的文档不够清楚(个人观点) 来自谷歌
The reason why a subscription was canceled or is not auto-renewing.
Possible values are:
0. User canceled the subscription
1. Subscription was canceled by the system,for example because of a billing problem
2. Subscription was replaced with a new subscription
3. Subscription was canceled by the developer
我将不胜感激,特别是对于系统取消的任何澄清。 (计费问题)的样本很清楚。
- 系统决定取消时是否有更多用例。
- 被系统取消是否与全额或部分退款有关
如果被系统订阅者取消,我们的系统会报告大量内容。不确定所有这些都是由帐单问题引起的。
提前致谢
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)