RevenueCat

Documentation

RevenueCat helps you build payments and subscriptions in your mobile apps - from simple in-app-purchases to complex multi-channel subscriptions. Follow our development quickstart to start building your integration.

Get Started

Play Store

Step-by-step guide for creating your Play service credentials

In order for RevenueCat's servers to communicate with Google on your behalf you need to provide a set of service credentials. The process for configuring these credentials is a bit complex, but the added level of control improves security by only providing RevenueCat with the access we need.

1. Link to a Google Developer Project

Your Play Developer account needs to be linked to a Google Developer Project.

1a. Go to your Play Console settings

1b. Select API access

1c. Select Link to connect your Play account to a Google Developer Project

2. Create Service Account

Next we need to create a service account. This is done from the Google API Console

2a. Select Create Service Account

2b. Follow the link to the Google API Console

2c. Create Service account key credentials

2d. Name it and assign it Project Owner Role

When you hit create, a JSON file will be downloaded. These are the credentials that RevenueCat will need to communicate with Google

Set the Role to Project > Owner

Download your JSON credential

3. Grant Financial Access to RevenueCat

3a. Back in the Play Console, select Grant Access on the newly created RevenueCat service account

3b. Set the Role to Finance and Add Manage Orders Permissions

Hit save and you're done. Upload the credentials JSON that were downloaded in step 2 to your RevenueCat account and we'll be ready to handle Google Play purchases!

Warning

It can take up to 24 hours for your Play Service Credentials to work properly with the Android Developer API. You may see "Invalid Play Store credentials" errors and be unable to make purchases with RevenueCat until this happens.

If this state persists more than 24 hours, contact support@revenuecat.com