This guide will walk you through the process of creating a service account in Google Cloud Platform (GCP), generating a private key, and configuring the necessary permissions in the Google Play Console for Android in-app purchases.

Prerequisites

• A Google Developer Account with access to the Google Play Console.

• A Google Cloud Platform (GCP) account associated with your Google Developer Account.

Part 1: Create a Service Account and Generate a Private Key

1. Access Google Cloud Console

• Navigate to Google Cloud Console.

• Sign in with your Google account associated with your developer account.

2. Select or Create a Project

• Click on the project dropdown menu at the top of the page.

• Select an existing project or click New Project to create a new one.

Creating a New Project:

• Enter a Project Name (e.g., MyApp-InAppPurchases).

• Optionally, select an Organization and Location.

• Click Create.

• Ensure the selected project is active (check the project name at the top).

3. Enable the Google Play Developer API