com.unity.purchasing 5.0.2
Source docsNotes: processedReleased October 14, 2025
Unity Compatibility
Minimum Unity: 2021.3
Package Dependencies
- com.unity.modules.androidjni (1.0.0)
- com.unity.modules.jsonserialize (1.0.0)
- com.unity.modules.unitywebrequest (1.0.0)
- com.unity.services.core (1.14.0)
- com.unity.ugui (1.0.0)
📈 Improvements
- `IPurchaseService.RestoreTransactions` will now invoke `OnPurchasesFetched` for the restored purchases.
🔧 Bug Fixes
- Fixed `IProductService.OnProductsFetched` being invoked when 0 products were fetched.
- Fixed Minimal Coded IAP 5.0.0 Sample having a missing script reference.
- Removed a validation that prevented confirming a `PendingOrder` if there was an existing `ConfirmedOrder` for the same transactionID.
- Apple - Fixed a missing import `StoreKit/StoreKit.h` when using `UnityFramework/UnityFramework-Swift.h`
- Apple - `IPurchaseService.ProcessPendingOrdersOnPurchasesFetched` no longer applies to the Apple App Store since the store already returns pending orders on startup through the `IPurchaseService.OnPurchasePending` callback.
- - This fixes the case where you could obtain duplicate pending orders when `ProcessPendingOrdersOnPurchasesFetched` was set to `true`.
- Apple - Fixed an issue where FetchPurchases would be limited to a single order per product.
- Apple - Fixed an issue where a fetched subscription could appear as both a Pending and Confirmed Order.
- Apple - Removed usage of unsupported function `IAppleStoreExtendedPurchaseService.PresentCodeRedemptionSheet` in tvOS
- Apple - Fixed an issue where orders which were confirmed while offline would not invoke any callbacks on repurchase.
- Apple - Fixed a case where `GetPurchases()` would return duplicate pending orders.
- Apple - Fixed a case where `GetPurchases()` would return pending orders for orders that were already confirmed.
- Apple - Fixed the case where re-buying a subscription could consume it prematurely.
- Google - Fixed a case where a `ProductType.Consumable` product could be return in a `ConfirmedOrder` instead of a `PendingOrder` when the consumable was acknowledged, but not consumed.
