我有一个react本机应用程序,使用react本机iap库与apple/google服务器通信以购买订阅。订阅成功了,它也返回了一个事务,但当我尝试使用该收据验证订阅是否在到期时间(下一个计费时间)后使用google play 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
}
1条答案
按热度按时间tktrz96b1#
license tester帐户必须具有印度以外的国家/地区。正如在印度一样,由于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