In-App Purchasing
Unity In-App Purchasing (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 simplifies implementing and managing purchases for different stores. Features: ▪ A single API to access all supported stores, making it easier to manage your in-game economy. ▪ Automatic integration with Unity Analytics for monitoring revenue and purchase data across platforms. ▪ Supports iOS, Mac, tvOS, and Google Play. ▪ Client-side receipt validation for Apple Store and Google Play. To enable In-App Purchasing, install the package and open the Services window (Window > General > Services). Upgrade notes: This release is a major update to the IAP package. Review the included sample for a complete example of how to use the new version. Upgrading is recommended to take advantage of the latest improvements and features.
com.unity.purchasing 
Install via UPM
Add to Unity Package Manager using this URL
https://www.pkglnk.dev/purchasing.git README Markdown
Copy this to your project's README.md
## Installation
Add **In-App Purchasing** to your Unity project via Package Manager:
1. Open **Window > Package Manager**
2. Click **+** > **Add package from git URL**
3. Enter:
```
https://www.pkglnk.dev/purchasing.git
```
[](https://www.pkglnk.dev/pkg/purchasing)Dependencies (5)
Used By (2)
README
About In-App Purchasing
Unity In-App Purchasing, setting up in-app purchases for your game across multiple app stores has never been easier.
This package provides:
- One common API to access all stores for free so you can fully understand and optimize your in-game economy
- Automatic coupling with Unity Analytics to enable monitoring and decision-making based on trends in your revenue and purchase data across multiple platforms
- Support for iOS, Mac, tvOS, Google Play, and Windows app stores
- Obsolete to be deprecated soon - Support to work with the Unity Distribution Portal to synchronize catalogs and transactions with other app stores
- Client-side receipt validation for Apple App Store and Google Play
IMPORTANT UPGRADE NOTES
If updating from Unity IAP (com.unity.purchasing + the Asset Store plugin) versions 2.x to version 3.x, complete the following actions in order to resolve compilation errors:
- Move IAPProductCatalog.json and BillingMode.json FROM: Assets/Plugins/UnityPurchasing/Resources/ TO: Assets/Resources/
- Move GooglePlayTangle.cs FROM: Assets/Plugins/UnityPurchasing/generated TO: Assets/Scripts/UnityPurchasing/generated
- Remove all remaining Asset Store plugin folders and files in Assets/Plugins/UnityPurchasing from your project.
Installing In-App Purchasing
To install this package, follow the instructions in the Package Manager documentation.
After installing this package, open the Services Window to enable In-App Purchasing to use these features.
Using In-App Purchasing
The In-App Purchasing Manual can be found here
Technical details
Requirements
This version of In-App Purchasing is compatible with the following versions of the Unity Editor:
- 2019.4 and later (recommended)
No comments yet. Be the first!