Skip to main content

Install Instructions

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 latest, 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 the dropdown in the top-left corner. At the time of writing this guide, Unity IAP 4.10.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 and specifying the package version.

Install010

Installing Unity IAP will also include several other package dependencies in your project. At this point you should see this list of packages in your project:

Install020

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 its UGS services.

Install030 Install040

note

You do not have to enable the toggle under Edit > Project Settings > Services > In App Purchasing! This is only for Unity Analytics and keeping it off does not restrict Unity IAP functionality in any way.

Install050

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

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

Install060

Continue with defining a category and adding products in the next section!

Custom Extensions

Scripts for more specialized use cases, such as Virtual Reality applications and third-party SDKs, are shipped in a separate package and can be imported via buttons in the Custom Extensions section of the Setup tab.