Available in Classic and VPC
This is a console setup guide for using the Google login and payment features.
For console usage other than GAMEPOT integration, see Play Console Help.
URL:
Google Play Console: https://play.google.com/console/
Google Cloud Platform: https://console.cloud.google.com/?hl=ko
Firebase Console: https://console.firebase.google.com/
Firebases console settings
- Log in to Firebase console > Select project > Click the "gear" icon next to the project overview > Click Project settings
- The "SHA-1" value in the Your apps part at the bottom should be added, and should be the same as the SHA-1 value of the app you are building.
If it's not there, click the "Add digital fingerprint" button to add it.

- If you're using the app signing feature in the Google Store Console, then you also need to add the SHA-1 value from your app signing key certificate.
To check Google app signing: Google Play Console > Select project > Setup > App signing > App signing key certificate > SHA-1 certificate fingerprint

Set in-app product
GAMEPOT payments are only available for consumable in-app products. (Subscriptions are currently unavailable.)
Select project in Google Play Console > Monetize > Products > In-app products > Click the "Create product" button.

- Product ID: unique in-app ID (product id) value
- Name: product name displayed upon in-app purchase
- Description: description for the in-app

- Price: Click the Set price button, enter the base price excluding VAT, and click the "Apply price" button at the bottom > When the Apply price button changes to the 'Activate' button, you need to click it once more to activate it.
- Pricing templates can be set in Google Play Console > Setup > Pricing templates.
- For tax information, you can adjust the VAT rate in Google Play Console > Setup > Payment profile > Sales tax.
Add in-app product in GAMEPOT dashboard
Click the GAMEPOT dashboard > Payment > IAP > "Add in-app item" button.


- Status: You must register it as Active. (Unused products are deactivated.)
- Store: Select the store where you want to register the in-app
- Product name: in-app's product name
- Product ID: in-app ID (Product Id) that you entered in the store console
Enter public key in GAMEPOT dashboard
GAMEPOT dashboard > Project settings > General > Public key

How to check public key in Google Play Store
Google Play Console > Select project > Monetization setup > Base64 encoding RSA public key

Add API key information for receipt validation

- Google receipt validation must be set to version 3 in order to see the Google payment cancellation list.
- JSON: See the content of Create Google Cloud Platform service account shown below,
and run the downloaded file and copy the entire contents to add to the dashboard JSON field.
How to create service account and obtain JSON file
Create Google Cloud Platform service account
Search for "service account" in the top search bar and select it.

- Click the Service accounts > "Create service account" button and enter the account information, and then click the "Create and continue" button.
- Grant this service account access to the project →Select the role as "Owner"

Add key
Select the created service account > Keys > Add key > Create new key

- After selecting JSON as the key type, click the Create button to create a new key and generate a JSON file.
- Add the content of the JSON file to the GAMEPOT dashboard > Project settings > General > Google API key > JSON field.
- If you have already been issued a key, you can upload that key as well.
Google Cloud Console - Configure OAuth consent screen
- Go to APIs & Services > OAuth consent screen, and select User Type as External.

2. Enter the app name, user support email, and developer contact information.

- Click the Save and Continue button to finish configuring the OAuth consent screen.
- After completing the setup, make sure that it is set correctly to "Publication Status = Production Stage / User Type = External."

Google Cloud Console - Set credentials
- Select APIs & Services > Credentials > Create Credentials > OAuth client ID, in that order.

2. Select the application type based on your build platform.
To use the Google One Tap Sign In feature, you must create a web application.

3. Enter the required information according to the application type.
- For Android, enter the Package name you used to build and the SHA-1 value for the app you're building.

- For iOS, enter the Bundle ID.

- For web applications, you don't need to do anything other than edit the name.

Activate Google Play Developer API
What is the Google Play Android Developer API?
With the Google Play Developer API, you can perform tasks related to in-app purchases and uploading/publishing your app.
- Search for "android developer" in the search bar at the top of the page where you created your service account > Select Google Play Android Developer

2. Click the "Use" button to activate it.

Set Google Play Console permissions
- Go to the Users and permissions page, and in the "service account" create from "Create Google Cloud Platform service account," click the "Manage" button on the right side.

2. In User details, under App permissions, click the "Add application" button to add the project you want to grant permissions to.

3. In the Account permissions > Financial data field, select the "View financial data, orders, and cancellation data survey responses" and "Manage orders and subscriptions" fields, and then save the changes.
