[Solved] How to add Unity IAP into my game ?

Hey there !

I want to use Unity IAP for my android game. But i didnt found any good tutorials yet… the most ones are very old. And is it possible to use Unity IAP with the standard google play billing screen ?

The manual has the most up-to-date instructions for integrating Unity IAP into your project. I would recommend looking into our Codeless IAP feature, since that is the quickest way to get started:
https://docs.unity3d.com/Manual/UnityIAPCodelessIAP.html

Once IAP is enabled in your app, you can add the project IDs to the various app stores:
https://docs.unity3d.com/Manual/UnityIAPGoogleConfiguration.html
https://docs.unity3d.com/Manual/UnityIAPAppleConfiguration.html

If you want to take the scripting approach, you can use this tutorial. It is a bit old, but the key details are still relevant:
https://unity3d.com/learn/tutorials/topics/ads-analytics/integrating-unity-iap-your-game

If you are interested in a live example of how to implement IAP, we have a new tutorial project that has details for integrating all Unity Services (Ads, Analytics, IAP):
https://blogs.unity3d.com/2017/08/15/what-this-cool-cat-can-teach-you-about-mobile-free-to-play-games/

Unity IAP is simply a wrapper for the various store APIs. So it does in fact use the standard Google Play billing screen on Android or the standard iOS billing screen on iPhone, etc.

1 Like