Skip to content

Configure Google Play Store IAP Settings

This how-to enables and configures the Google Play Store as a purchase provider in LootLocker so it can process in-app purchases.

  • A Google Play Developer Account.
  • A service account created in Google Cloud with access to your app in the Google Play Console, and its JSON key file.

In the Web Console, open Settings and select In-App Purchases.

Opening the In-App Purchases settings page in the Web Console to configure Google Play Store

Select Google Play Store from the list of available providers.

Fill in the following fields:

  • Test Purchases: enables Google Play test (sandbox) purchases. Use this during development to validate purchase flows without charging real users.
  • Package Name: the unique identifier for your Android app (e.g., com.yourcompany.yourgame). This must match the package name configured in your app and in the Google Play Console.
  • Type: the type of Google Cloud credential. This should be set to service_account, which is required for server-to-server communication with Google Play.
  • Project ID: your Google Cloud project ID associated with your app and Google Play Developer account.
  • Private Key ID: the identifier for the service account private key. This is included in the JSON key file generated in Google Cloud.
  • Private Key: the private key from your Google Cloud service account credentials. Upload the key file here (Base64 encoded). This is used to authenticate requests to Google Play APIs.
  • Client Email: the service account email address (e.g., [email protected]). This account must be granted access to your app in the Google Play Console.
  • Client ID: the OAuth 2.0 client ID associated with the service account.
  • Auth URI: the OAuth 2.0 authorization endpoint. Typically: https://accounts.google.com/o/oauth2/auth
  • Token URI: the OAuth 2.0 token endpoint used to obtain access tokens. Typically: https://oauth2.googleapis.com/token
  • Auth Provider x509 Cert URL: the URL for Google's OAuth 2.0 public certificates. Typically: https://www.googleapis.com/oauth2/v1/certs
  • Client x509 Cert URL: the URL for the service account's public certificate.
  • Universe Domain: the Google Cloud universe domain. Typically: googleapis.com

Once all required fields have been filled in, click the Enable toggle to enable Google Play Store as a purchase provider for your game.

Click Save Changes to save your configuration.

You've enabled Google Play Store for in-app purchases and configured the required settings in LootLocker. Next, create purchasable Catalog Listings that can be purchased in-game.