【问题标题】:Can't verify IAP receipt with service account, "The current user has insufficient permissions to perform the requested operation"无法使用服务帐户验证 IAP 收据,“当前用户没有足够的权限执行请求的操作”
【发布时间】: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


    【解决方案1】:

    显然,使服务帐户的权限生效存在一些延迟,我们周五离开办公室,但它没有工作,当我们周一到达这里时,它没有任何变化。

    【讨论】:

      猜你喜欢
      • 2022-01-14
      • 2022-01-07
      • 2021-01-28
      • 1970-01-01
      • 2023-03-30
      • 2014-01-24
      • 2020-04-02
      • 1970-01-01
      • 2022-11-17
      相关资源
      最近更新 更多