Google IAB Serivce 集成大坑 (InAppBilling)

本文记录了在集成Google InAppBilling服务时遇到的403和401错误。403错误是由于在Google Play Developer Console的API Access未链接服务端的service account账号。401错误解决办法是将service account邮箱添加为Google Play设置中的管理员用户。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

草草记录以下


服务端与谷歌服务器通信,验证订单的时候

403错误

The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console.

原因是Google Play Developer Console API Access权限设置里面,没有把服务端用到的service account帐号加入进去.


401错误

message: 'The current user has insufficient permissions to perform the requested operation.' } }


Problem solved adding user service account email address xxxxx@developer.gserviceaccount.com as administrator user in google play settings.

Go to google play console and add service acount email adress from google developer console to settings -> permissions or something like that

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值