Nami simplifies your adoption of in-app purchases and subscriptions for apps published to Google Play. In doing so, Nami needs to communicate with Google's Play Developer API for purchase verification as well as retrieve product sku details.
This article documents how to generate Service Account credentials with Google Play that provide Nami the limited access needed to manage your app's purchases.
Log in to Google Play Console.
Navigate to Setup > API Access
- Click 'Learn how to create service accounts'
- Navigate to API access under the Developer account section.
- Enable API access for your account by linking your Google Play Android Developer project.
- Under the Service Account section, click Create Service Account.
- Click the Google API Console in the dialogue that pops up, which will open in a new window.
- Ensure Google Play Android Developer is the current project in the Google API Console.
- Click Create Service Account.
- Fill in the Service account name and Service account description fields, then click Create.
- Grant Service Account User for the Role , then click Continue.
- Skip the Grant users access to this service account (optional) step and click Done.
- Click back into the service account you just created.
- Under Keys click on ADD KEY and then Create new key.
- Make sure you select JSON and then click Create.
If prompted to allow downloads select yes and then click done to download the key.
Confirm your new Service Account shows up in the list view, and has a green checkbox in the Status column.
- Switch back to your Google Play Console window, and close the dialogue which will refresh the API Access page.
Your new Service Account should be listed.
- Click Grant Access, and assign the Nami Service Account the following permissions:
- View app information
- View financial data
- Manage orders
- You're almost done! Log in to Nami Control Center, click on Integrations and then click your Google app platform integration.
Why does it say 'Finish Configuring'?
Your Play Store integration will show a 'Finish Configuring' status until you complete setup of the Service Account credentials.
- Open the contents of the Service Account credentials JSON downloaded in step 12.
Paste the contents into the field labeled Service Account Credentials (.json) and click "Save Changes".
Service Account Credentials Not Shown in Control Center for Security
Our APIs do not return the raw value of the Service Account Credentials to the Control Center for security. If you have previously set your Service Account Credentials and we have a value for it, you'll see a placeholder in the field.
- When you return to the Integrations screen, you will see a 'Configured' badge on your Play Store integration, indicating your setup is complete!
Updated 4 months ago