Google Play Service Credentials
Google Play Service Credentials
This is a difficult process but it is required in order for Apphud to validate in-app purchases in Google Play.
Link account to a Google Developer Project
Go to Settings page in your Google Play Console and Open API Access tab:

Click "Choose a project to link":

Agree to Terms:

Next let's create a service account.
Create Service Account
Click "Create new service account":

Navigate via link to Google Cloud Platform:

Click "CREATE SERVICE ACCOUNT":

Enter the name of your service account and click "CREATE":

Select "Owner" for this account permissions:

Next you will need to create a new private key for this account:

Select "JSON" key type and click "CREATE":

After that you will need to grant financial access to this account.
Grant Permissions to Service Account
Click "Grant permissions":

Select "Account permissions" and grant the following permissions:
- View app information and download bulk reports (read-only)
- View financial data, orders, and cancellation survey responses
- Manager orders and subscriptions

Click "Invite User" and "Send Invite".

Grant Permissions to your App
In the Users and Permissions page in App permissions tab select your app and Apply permissions:

Your App permissions should be automatically granted by account permissions. Click "Apply":

Upload Service Account JSON to Apphud
Upload Service Account JSON file or enter JSON contents to Apphud when creating new app or if you already have created app, then in "Settings > Android app settings" page:

You're done!
Important Note
If you think you did everything right, but the error still persists, allow up to 24 hours for Google Servers to activate your service account.
Updated 2 months ago