com.unity.purchasing 4.9.3

com.unity.purchasing

Source docs
Notes: processedReleased June 14, 2023

Browse versions

PreviousNext

Unity Compatibility

Minimum Unity: 2020.3

Package Dependencies

📈 Improvements

  • Analytics events are now sent when a purchase has been confirmed (`ConfirmPendingTransaction` or `ProcessPurchase` returning `PurchaseProcessingResult.Complete`). This will improve the accuracy of revenue tracking by no longer considering pending purchases.
  • Updated `Product.transactionID`, `Product.hasReceipt` and `Product.receipt` documentation to include pending transaction use cases.
  • Updated samples to use `IDetailedStoreListener` and its improved `OnPurchaseFailed` callback.
  • Added a new `RefreshAppReceipt(Action successCallback, Action errorCallback)` callback containing more information when the errorCallback is invoked in `IAppleExtensions : IStoreListener`.

🔧 Bug Fixes

  • `OnPurchaseFailed` will no longer log an error when there's only new IAP Buttons with no IAP Listener.
  • Apple - Improved the accuracy of `Product.appleProductIsRestored` when using the restore transaction button. These will now correctly be flagged as true.
  • Codeless - `OnPurchaseFailed(Product, PurchaseFailureDescription)` callback was not invoked in `IAP Listener`