Add a Google license key to your project
Add your Google Play license key in the Unity Dashboard to enable license verification for Android IAP, ensuring purchase receipts are validated against Google Play to prevent fraud in both testing and production.
Read time 1 minuteLast updated 5 hours ago
Add your Google license key to your Unity project to enable Google Play license verification for Android in-app purchases. Use the correct key to validate purchase receipts against Google Play and to prevent fraud in testing and production. You can add your license key for your project in the Unity Dashboard. For more information, refer to Setting Up for Licensing.
Prerequisites
Before you add a Google license key, follow these steps:- Configure In-App Purchasing for your project in the Unity Editor. For more information on how to configure IAP, refer to Enable and configure the IAP service for your project.
- Obtain a license key for your app from the Google Play Developer Console.
Add a Google license key from the Unity Dashboard
To add a Google license key to your project from the Unity Dashboard, follow these steps:- Go to the Unity Dashboard and navigate to your project.
- Select Settings.
- Next to Google License Key, select the Edit icon.
- Enter your Google license key and select Save.