Wizcorp/node-iap

[Google] How to get "Google API Service Account JSON key file linked to your Google Play account for authentication"

Closed this issue · 2 comments

I understand that I need to create some kind of service account on google cloud platform.

Is there a step-by-step on which exact project/service/role I should be creating the service account against?

After some fiddling, I managed to get google play to automatically create a "Google Play Android Developer" in my google cloud platform.

I then created a service account with owner role for "project".

But now I am getting the error

  "errors": [
   {
    "domain": "androidpublisher",
    "reason": "permissionDenied",
    "message": "The current user has insufficient permissions to perform the requested operation."
   }
  ],

What role do I need? Is owner not enough?

https://stackoverflow.com/questions/52081370/not-enough-permission-from-project-owner-to-verify-google-in-app-subscriptions

I answered my question here. Turns out this is what needs to be done. None of it is documented by google.