在使用 Google 的开发人员 API 进行服务器端订阅验证确认订阅升级/降级时,不断收到来自 Google 的错误“subscriptionNotOwnedByUser”。
购买 token 是直接从 Google 的实时开发者通知收到的通知中提取的。尝试搜索此错误但没有运气。
谢谢你的帮助。
错误信息:
{
"error": {
"errors": [
{
"domain": "androidpublisher",
"reason": "subscriptionNotOwnedByUser",
"message": "The subscription purchase not is owned by the user.",
}
],
"code": 400,
"message": "The subscription purchase not is owned by the user."
}
}
最佳答案
订阅自动续订时,您无需再次确认。因为在订阅购买时已经确认了相同的购买 token 。因此,当您确认已确认的订阅时,您将收到此错误。
在我的案例中,我遇到了同样的错误,所以我在续订时删除了确认部分。
关于android - Google Play - 确认订阅的购买 token 时出现错误 "subscriptionNotOwnedByUser",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57919134/