com.unity.purchasing 5.4.0
Notes: processedReleased June 30, 2026
Download Options
Direct package downloads captured from Unity's package registry.
Unity Compatibility
Minimum Unity: 2022.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.18.0)
- com.unity.ugui (1.0.0)
Features
- Direct to Consumer (D2C) payment providers - Integrate D2C payment providers with Unity In-App Purchasing to sell and fulfill products through off-platform transactions.
- Unity Webshops - Launch a branded web storefront for your In-App Purchasing catalog from the Unity Dashboard, with theming, hosting, and payments handled for you.
- Remote Catalog - Define your product catalog and upload it to the Remote Catalog service.
- Purchase Options UI - Start a purchase from your application and let players choose how to pay with the Purchase Options UI.
- These new features listed above all require `com.unity.services.authentication` 3.7.1 and above.
- Catalog Listings - A single product can now expose multiple purchasable offers via `CatalogListing`. Catalog Listings are defined in the Remote Catalog.
- - All functions previously using a `Product` now have a new overload using `CatalogListing`
- - All functions previously using a productId now use a catalogListingId
- - Entitlement checks now query every `CatalogListing` on a product and report the highest `EntitlementStatus`, so multi-listing products (for example, `no_ads` and `no_ads_discounted`) resolve correctly regardless of which listing the player originally purchased.
- - Products without a catalog listing are backward compatible - a default catalog listing will be created where the `catalogListingId` matches the Product's uSku.
- Compliance with Apple and Google external purchase requirements - Comply with Apple and Google's requirements for external purchases.
Improvements
- GooglePlay - Billing Library updated to 9.0.0 (was 8.3.0).
- Updated `com.unity.services.core` dependency to 1.18.0.
- The minimum Unity Editor version supported is 2022.3.
- Authentication - The IAP SDK will clear products and purchases before raising the `OnAuthAccountChanged` event to prevent stale prices/listings/orders. From this callback, re-run your initialization flow for the new account: `FetchCatalog` → `FetchProducts` → `FetchPurchases`. Cached purchases and products will only be cleared on Authentication sign-in events when StoreController.OnAuthAccountChanged has at least one listener set.
Bug Fixes
- Fixed compile errors caused by naming collisions when a project imports a third-party package that exposes a top-level `UnityUtil` namespace.
API Changes
- New `PaymentProvidersExtendedPurchaseService` exposed on `StoreController`; new `PaymentProviders` property on `PurchaseService` / `IPurchaseService`.
- `IPaymentProvidersExtendedPurchaseService.SetPaymentProviderOverride(string)` — overrides which payment provider is used in purchases.
- `IPaymentProvidersExtendedService.GetEligiblePaymentProviders()` — returns providers in priority order; empty list means none eligible.
- `IPaymentProvidersExtendedPurchaseService.SetComplianceCheck(Func>)` — gates Payment Provider purchases on your compliance rules; returning `false` fails the purchase with `PurchasingUnavailable`.
- `IPaymentProvidersExtendedPurchaseService.GenerateURL(string sku, IReadOnlyList?)` — fetches the redirect URL up front (e.g. for compliance display) without opening it.
- `IPaymentProvidersExtendedPurchaseService.Purchase(ICart, string)` and `PurchaseProduct(string catalogListingId, string)` — route a single purchase through a specific provider without mutating the value set by `SetPaymentProviderOverride`.
- `IPaymentProvidersExtendedPurchaseService.RedirectToWebshop(string? catalogListingId = null, IReadOnlyList? externalTokens = null)` — opens the Unity we
