【问题标题】:Android Google Play Subscription not auto renewingAndroid Google Play 订阅不自动更新
【发布时间】:2021-10-02 10:11:59
【问题描述】:

我有一个 react native 应用程序并使用 react-native-iap 库与 Apple/Google 服务器通信以购买订阅。订阅成功并且它也返回了一个交易但是当我尝试使用该收据来验证订阅是否在到期时间(下一个计费时间)之后使用谷歌播放 API 自动续订时,它返回 autoRenewing 标志为 false 和 cancelReason: 1. 我不知道发生了什么,但根据 Google Play cancelReason:1 的意思,“订阅已被系统取消,例如由于计费问题”

这是我从谷歌得到的回复:

{
    "acknowledgementState": 1,
    "autoRenewing": false,
    "autoResumeTimeMillis": null,
    "cancelReason": 1,
    "countryCode": "IN",
    "developerPayload": "",
    "emailAddress": null,
    "expiryTimeMillis": "1627031557423",
    "externalAccountId": null,
    "familyName": null,
    "givenName": null,
    "kind": "androidpublisher#subscriptionPurchase",
    "linkedPurchaseToken": null,
    "obfuscatedExternalAccountId": null,
    "obfuscatedExternalProfileId": null,
    "orderId": "GPA.3395-1240-4774-78426",
    "paymentState": null,
    "priceAmountMicros": "7387010235",
    "priceCurrencyCode": "INR",
    "profileId": null,
    "profileName": null,
    "promotionCode": null,
    "promotionType": null,
    "purchaseType": 0,
    "startTimeMillis": "1627031259058",
    "userCancellationTimeMillis": null
}

【问题讨论】:

    标签: android react-native google-play in-app-subscription auto-renewing


    【解决方案1】:

    许可证测试员帐户必须是印度以外的国家/地区。由于最近 RBI 指南的变化,谷歌在印度暂停了应用更新一段时间。

    https://www.indiatoday.in/technology/news/story/google-is-pausing-free-trials-for-play-store-apps-in-india-blame-the-new-rbi-regulation-1798745-2021-05-04

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-03-24
      • 2021-12-12
      • 1970-01-01
      • 1970-01-01
      • 2017-01-23
      • 2012-09-08
      • 1970-01-01
      相关资源
      最近更新 更多