Unity In-App Purchasing (Unity IAP) allows you to sell digital content within your application. This package provides a unified API for handling in-app purchases across multiple platforms, including the Apple App Store and Google Play Store.
Unity IAP also supports direct-to-consumer (D2C) sales, letting you sell to your players outside the app stores through your own webshop, with a shared product catalog across all of them. The in-game purchase flows are built to make it easy for you to comply with Apple and Google’s policies for external purchases in supported regions (refer to Unity IAP documentation):
• A single API to access all supported stores, making it easier to manage your in-game economy.
• D2C sales through supported payment providers, who act as merchant of record so you don’t take on tax, fraud or chargebacks.
• One product catalog shared across D2C providers that can be imported from Apple & Google.
• D2C purchase flows designed for Apple and Google’s external purchase policies, by region.
• A free hosted webshop generated from your catalog.
• Reporting across app store and direct-to-consumer purchases in one place (Unity Analytics not required).
• Client-side receipt validation for the Apple App Store and Google Play.
To enable In-App Purchasing, install the package, then go to Services > In-App Purchasing > Configure.
This package collects data on your behalf as described in Unity’s Developer Data framework. Collection can be managed per project in the Developer Data section of Project Settings in the Unity Dashboard.
Package version 5.4.3 is released for Unity Editor version 6000.6.
These package versions are available in Unity version 6000.6:
| Documentation location: | State | Versions available: |
|---|---|---|
| com.unity.purchasing@5.4 | released | 5.4.0, 5.4.1, 5.4.2, 5.4.3 |
| com.unity.purchasing@5.3 | released | 5.3.0, 5.3.1 |
| com.unity.purchasing@5.2 | released | 5.2.0-pre.1, 5.2.0-pre.2, 5.2.0, 5.2.1 |
| com.unity.purchasing@5.1 | released | 5.1.0, 5.1.1, 5.1.2 |
| com.unity.purchasing@5.0 | released | 5.0.0-pre.1, 5.0.0-pre.3, 5.0.0-pre.4, 5.0.0-pre.5, 5.0.0-pre.6, 5.0.0-pre.7, 5.0.0-pre.8, 5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.0.4 |
| com.unity.purchasing@4.15 | released | 4.15.0, 4.15.1 |
purchasing , iap , unity