0 votes

I've already asked a question about an interface in Godot that gets a connection to this module:

I tried to import and enable it in engine.cfg with:


Then I tried to use this interface written with GD-Script:


But when it calls the singleton (yes I put the whole thing into the AutoLoads) with Globals.get_singleton("GodotPayments") I just get a null instance. So there is no connection.
How can I enable the module GodotPaymentV3 located at org/godotengine/godot/GodotPaymentV3 and how can I use it?
My game has an In-App-Store and needs connections to Google Play for in-app-purchases.

in Engine by (24 points)

did you tested it on android device?

1 Answer

0 votes

When I tried it the first time I also got a null instance on Android. Now I started the whole thing from scratch and suddenly I have an instance [JNISingleton]. Thank you! It doesn't work on Windows.
Now I hope I can use this module with the interface...

by (24 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.