com.unity.purchasing 5.5.0

com.unity.purchasing

Source docs
Notes: processedReleased November 4, 2026

Browse versions

PreviousNext

Download Options

Direct package downloads captured from Unity's package registry.

Unity Compatibility

Minimum Unity: 2022.3

Package Dependencies

Features

  • Added `Order.StoreName` and `Product.StoreName`, the name of the store an order belongs to or a product was fetched from.
  • Added `PurchasingController`, which drives several stores (for example Google Play and a Payment Provider) from one object. Calls apply to every store unless a `storeName` is passed, and calls that take a `Product` or `Order` go to its `StoreName`.
  • Added `IOrderInfo.PurchaseDate`, the UTC date and time of the purchase. It is `null` when the store does not provide one, for a `DeferredOrder`, and for a `FailedOrder` that was not a pending order first.
  • Apple - Added `IAppleStoreExtendedService.ClearTransactionLog(bool debugOnly)`, which can also clear the transaction log in release builds. `ClearTransactionLog()` is now obsolete.
  • Apple - Added the `IAP_DISABLE_IDFA` scripting define symbol for apps in the Kids Category. When set, iOS and tvOS builds leave out the AdSupport framework and the code that reads the advertising identifier (IDFA). Developers remain responsible for their own child-directed designation and for any other SDKs in their app.
  • Authoring - Catalog items have an optional purchase limit (count per hour, day or month) in the inspector and as the `PurchaseLimitCount` and `PurchaseLimitPeriod` `.catalog.csv` columns. Catalog items are now deployed with the `UnityRemoteCatalog` 1.2.0 schema.
  • Payment Providers - Added `IPaymentProvidersExtendedService.GetPurchaseEligibility`, which returns whether the player can buy each catalog listing now, how many purchases remain, and when the limit resets.
  • Payment Providers - Added `PaymentProviderProductMetadata.purchaseLimit`, which exposes a catalog listing's purchase limit (`count` per `PurchaseLimitPeriod` of `Hour`, `Day` or `Month`). It is null when the listing has no limit.
  • Payment Providers - Added `PurchaseFailureReason.PurchaseLimitReached`. A purchase that would exceed the catalog listing's purchase limit now fails with this reason instead of `ExistingPurchasePending` or `DuplicateTransaction`.
  • Payment Providers - Added `StoreController.PaymentProvidersExtendedService`, named like the other extended services. Update calls to `StoreController.PaymentProviderStoreExtendedService` to use the new name; the old name will be removed in a future major version.

Improvements

  • Apple - Updated the Apple privacy manifest (PrivacyInfo.xcprivacy) with the data the SDK collects.
  • Authoring - Comparing catalog items against their remote counterpart now only reports differences. A matching item no longer shows "Up to date", which could become stale when the remote changed afterwards; an item showing "Deployed" keeps that status unless a difference is found.
  • Editor - Redesigned the In-App Purchasing settings page, with "Cloud setup" and "AI Skills" tabs and cards for each store and payment provider.

Bug Fixes

  • A `PendingOrder` that arrives while `OnPurchasePending` has no subscriber is no longer treated as handled. The next `FetchPurchases` after subscribing sends it to `OnPurchasePending`. Previously it was not sent there again until the next launch.
  • AI skill - The skill now points to the Platform compliance guidance.
  • Apple (StoreKit 2) - `ConfirmPurchase` now reports a `FailedOrder` through `OnPurchaseConfirmed` when StoreKit cannot finish the transaction (for example, while offline), after trying three times. That transaction now stays pending and is redelivered on launch matching the behavior of the other stores.
  • Apple (StoreKit 2) - Fixed pending transactions that could not be finished. Confirming a `PendingOrder` now finishes its transaction even when StoreKit no longer lists it as unfinished.
  • Apple - Clearing the transaction log no longer throws a `DirectoryNotFoundException` when nothing has been recorded yet or the log was already cleared.
  • Apple - The App Receipt in `order.Info.Receipt` is now always up to date.
  • - \`IAppleStoreExtendedPurchaseService.