Get started with Unity IAP
Follow this workflow to install the In-App Purchasing package and configure Unity IAP for your project.
Read time 1 minuteLast updated 15 hours ago
This guide goes through the initial setup for Unity In-App Purchasing (IAP). To successfully use Unity IAP, perform the following actions:
- Meet all the prerequisites.
- Install the IAP package.
- Enable and configure the IAP service for your project.
Prerequisites
Before you begin, ensure you meet the following requirements:- A Unity project running on a supported Unity version.
- A project linked to a Unity Project ID in the Unity Editor (Services > General Settings).
Install the IAP package
To begin using the IAP SDK, install the In-App Purchasing package.- In the Unity Editor, select Window > Package Manager.
- Select the Unity Registry tab.
- Search for In-App Purchasing (or com.unity.purchasing).
- Select the package, then select Install.
Enable and configure the IAP service for your project
- Open your Unity project in the Unity Editor.
- From the menu, go to Window > General > Services to open the Services window.
- Create a Project ID, then connect the project to an organization.
- Answer the COPPA compliance questions.
- The Services window displays a list of services. Select In-App Purchasing.
- The Project Settings window opens.
- Use the toggle next to In-App Purchasing Settings to select ON.