Installation
This guide walks you through installing Godot IAP in your Godot 4.x project.
Prerequisites
- Godot 4.3 or higher
- For iOS: Xcode 16+ (Swift 6.0+) and iOS 15+ target
- For Android: Android SDK with API level 24+
Installation
Download from Releases (Recommended)
- Download the latest
godot-iap-{version}.zipfrom GitHub Releases - Extract and copy
addons/godot-iap/to your project'saddons/folder - Enable the plugin in Project → Project Settings → Plugins
That's it! The zip includes pre-built binaries for both iOS and Android.
Build from Source
If you need to build from source:
git clone https://github.com/hyochan/godot-iap.git
cd godot-iap
# Build for iOS
make ios
# Build for Android
make android
# Copy addons/godot-iap/ to your project
Platform Setup
iOS
- Project → Export → iOS preset
- Enable GodotIap in Plugins section
- See iOS Setup for App Store Connect configuration
Android
- Project → Export → Android preset
- Enable GodotIap in Plugins section
- See Android Setup for Google Play Console configuration
Verify Installation
extends Node
func _ready():
if Engine.has_singleton("GodotIap"):
var iap = Engine.get_singleton("GodotIap")
print("Godot IAP is available!")
var result = iap.init_connection()
print("Init result: ", result)
else:
print("Godot IAP not available - only works on iOS/Android")
Note
The plugin is only available on iOS and Android. Engine.has_singleton("GodotIap") returns false in the editor and on desktop platforms.
Next Steps
- iOS Setup - App Store Connect configuration
- Android Setup - Google Play Console configuration
