HOME.en.md




RU EN
🏠 Home ❮ Back

Godot plugin RuStore for accepting payments through third-party applications

The RuStoreGodotBilling plugin helps integrate the payment mechanism through third-party applications (SberPay, SBP). Godot Engine versions 4.3+ are supported.

Plugin installation

  1. Go to the Releases section of the project repository on GitFlic.

  2. Download the RuStoreGodotBilling.zip and RuStoreGodotCore.zip artifacts from the selected release.

  3. Extract the downloaded archives into the addons folder at the root of your Godot project, so that the following structure is obtained:

📁 your_project
└─ 📁 addons
   ├─ 📁 RuStoreGodotBilling
   │  ├─ plugin.cfg
   │  ├─ plugin.gd
   │  ├─ RuStoreGodotBilling.aar
   │  ├─ RuStoreGodotBilling.gd
   │  └─ ...
   └─ 📁 RuStoreGodotCore
      ├─ plugin.cfg
      ├─ plugin.gd
      ├─ RuStoreGodotCore.aar
      ├─ RuStoreGodotCore.gd
      └─ ...
  1. In the project settings on the Modules tab, check the RuStore Godot Billing and RuStore Godot Core modules.

Handling deeplink

Modify GodotApp.java to handle intents and add an activity-alias with an intent-filter to AndroidManifest.xml.

Godot 4.6+ Godot <4.6
build_example_4.6+/src/main/java/com/godot/game/GodotApp.java build_example/src/com/godot/game/GodotApp.java

For more details on deeplink configuration, see the online guide.

SDK initialization

const APP_ID = "123456"
const DEEPLINK_SCHEME = "yourappscheme"
const DEBUG_LOGS = false

var _client: RuStoreGodotBillingClient = RuStoreGodotBillingClient.get_instance()

func _ready():
    _client.init(APP_ID, DEEPLINK_SCHEME, DEBUG_LOGS)
  • APP_ID — the application identifier from the RuStore Console.
  • DEEPLINK_SCHEME — the deeplink scheme, must match the scheme in the manifest.

Working with SDK

Explore the class catalog or the online guide.

Technical support

Additional help is available in the RuStore documentation and via email at support@rustore.ru.

Distribution terms

This software is distributed under the MIT license. See MIT-LICENSE.