【发布时间】:2019-02-08 18:26:36
【问题描述】:
在 Google Cloud Console 中创建服务帐号 (https://console.cloud.google.com)
服务帐户具有“所有者”角色。
前往https://play.google.com/apps/publish 并添加此帐户(使用 json 文件中的电子邮件)具有“管理员”访问级别
确保它包含“查看财务报告”选项。
尝试验证收据时,我总是收到以下回复:
{
"error": {
"errors": [{
"domain": "androidpublisher",
"reason": "permissionDenied",
"message": "The current user has insufficient permissions to perform the requested operation."
}],
"code": 401,
"message": "The current user has insufficient permissions to perform the requested operation."
}
}
我错过了什么?
我正在使用此代码: https://github.com/aporat/store-receipt-validator/
【问题讨论】:
标签: in-app-purchase permission-denied service-accounts receipt-validation in-app-subscription