草草记录以下
服务端与谷歌服务器通信,验证订单的时候
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