Ruslan Plastun
Ruslan Plastun

Reputation: 2254

Use Google Play Billing inside Unity?

Just curious, can I use Google Play Billing functionality inside Unity? I see only Java & Kotlin examples, but maybe there is some plugin for Unity?

Upvotes: 1

Views: 680

Answers (2)

JeanLuc
JeanLuc

Reputation: 4893

I can recommend the prime31 In App Billing Plugin, which is used for several years now. https://prime31.com/docs#androidIAB

Unity provides also an IAP Module them self, which i have not used yet: https://docs.unity3d.com/Manual/UnityIAP.html

Update September 2020: I now have used the Unity IAP module for a project on iOS and Google Play and it worked like a charm.

Upvotes: 2

Harrishun
Harrishun

Reputation: 33

[2020] Google have released the Google Play billing plugin for Unity, which as per the Unity Package Manager description, "provides all of the features available in the current Java and Kotlin versions." It is an extension of UnityIAP.

You can review their documentation, including installation instructions, here.

The documentation for the plugin doesn't include much in the way of examples like the Java and Kotlin documentation, but it is open-source, so you can review the files themselves to see what you are able to implement.

Upvotes: 1

Related Questions