Installation🔗
This guide walks you through installing the Godot Google Play Billing Plugin and preparing your project for Android in-app purchases.
Requirements🔗
Before installing, make sure you have:
- A project using Godot Engine 4.2+
- Android export configured in Godot
- An application in Google Play Console
- An Android device for testing
Install the Plugin🔗
You can install the plugin in two ways: directly from the Godot Editor using AssetLib, or manually from the Godot Asset Store or GitHub releases.
Warning
Before installing: Remove any previous version of this plugin from your project to avoid conflicts.
Option 1: Using the Godot Editor (AssetLib)🔗
- Open the AssetLib tab in the Godot Editor and search for
Godot Google Play Billing. - Click Download.
- In the installation dialog:
- Make sure
Ignore asset rootis unchecked. - Click Install.
- Make sure
- In main menu, go to
Project > Project Settings > Plugins, and enable GodotGooglePlayBilling.
The plugin is now active in your project.
Option 2: Manual Installation🔗
- Download the latest release from:
- Extract and copy the plugin to your project's
addonsfolder:[Project root]/addons/GodotGooglePlayBilling/ - Open your project in Godot.
- In main menu, go to
Project > Project Settings > Plugins, and enable GodotGooglePlayBilling.
The plugin is now active in your project.
Configure Android Export🔗
- In main menu, go to
Project > Export. - Add an Android export preset if you dont have one.
- Ensure:
gradle/use_gradle_buildis checked.- Package name matches your Google Play Console app
- Internet permission is enabled
- The project is signed with a release keystore
Export settings must match your Google Play configuration for billing to work correctly.