Skip to content

AchyutaStudios/godot-play-billing

Repository files navigation

Godot Play Billing

Welcome to the Godot Play Billing Library!

This plugin simplifies integration with the Google Play Billing system by providing a GDScript-based interface. Developers can easily implement billing features without needing to write any Kotlin or Java code, making it accessible even for those without prior Android development experience.

Quick Start

To get started, follow these steps:

Example

# The PlayBilling node is provided by the plugin, 
# encapsulating all necessary signals and methods for Google Play Billing.
@onready var _play_billing: PlayBilling = $PlayBilling


func _ready():
    # Initiate the connection to the Google Play Billing service.
    _play_billing.start_connection()


func _on_play_billing_connected() -> void:
    # Connection is established.

Documentation

Comprehensive documentation is available here and includes: