【问题标题】:Verify Google Play Receipt with Purchase Status API but always get 403 forbidden使用购买状态 API 验证 Google Play 收据,但总是得到 403 禁止
【发布时间】:2014-06-21 06:46:19
【问题描述】:

我遵循这个: https://developers.google.com/android-publisher/authorization

我得到了我的 Refresh_Token 和 Access_Token,然后我使用:

https://www.googleapis.com/androidpublisher/v1.1/applications/[packageName]/inapp/[productId]/purchases/[purchase_token]?access_token=[access_token]

service account (403) Forbidden Google Play In-app Billing Purchase Status API

邀请我的帐户邮箱成为 google play 发布页面的用户

但我仍然收到错误 403 禁止的响应!

有人可以帮我吗?

我在这个问题上花了很多天..

【问题讨论】:

    标签: android api in-app-purchase google-play


    【解决方案1】:

    我解决了这个问题,

    我的问题点是使用另一个 Google 帐户来生成网络应用程序客户端 ID,

    但必须由产品所有者生成,否则将始终响应 403 禁止错误!

    【讨论】:

    • 你能详细解释一下吗?我遇到了同样的问题,但我使用的是创建我的应用程序的同一个帐户来授权 API。非常感谢提前...
    • 细节太多了,所以我觉得我不能100%匹配你的问题,但是在我解决这个问题之前,我去这个网址一步一步:developers.google.com/oauthplayground但我认为也许您没有从 here 给您的 ClientID 足够的许可
    猜你喜欢
    • 2014-03-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-04-08
    • 2011-10-12
    • 1970-01-01
    • 2019-09-11
    相关资源
    最近更新 更多