Skip to main content

Install Instructions

Based on a new project, you would first open Window > Package Manager and download the Unity UI package, since Simple IAP System's shop item prefabs make use of it.

Image 010

Search for the In App Purchasing package in the Unity Registry. Depending on the Unity version used, you might not be able to see the latest package version. Simple IAP System will always be compatible with the latest Unity IAP version, so it is advised to download the current version, even manually when required.

note

You do not have to import Unity IAP if you don’t want to charge your users. E.g., if you are only using virtual products and currency earned in-game, such as selling a sword with coins in-game only.

You can find out which Unity IAP version is the latest one by opening the com.unity.purchasing Docs and clicking on Changelog. At the time of writing this guide, Unity IAP 4.4.0 was the latest version. If you do not see that version in the Package Manager, even with the little arrow on the left side expanded, you can download it manually via PLUS button > Add package by name.

Image 020

After downloading it, a 'Link your Unity project' popup might appear. Follow its instructions in the Project Settings and link your project, as Unity IAP requires that for analytics purposes.

Image 030 Image 040

Next, the Services Core package was already added by Unity to your project as a dependency. However, that might be an old version too. Again, check the latest version on the com.unity.services.core Docs and if required, update to the latest one manually.

Image 050

Finally, add Simple IAP System to your project from the Packages:My Assets section.

You should now have the following packages and assets in your project, some of them dependencies of other Unity packages added previously:

Image 060

Open the billing plugin setup window under Edit > Project Settings > Simple IAP System. If you imported Unity IAP previously, check Enable Integration and press Apply.

Image 070