Hi, as the title suggests, I’m having issues with Unity IAP 4.12.2 on Amazon. I manage 8 apps published on Google, iOS and Amazon. I’ve recently had to update the package, editor version and increase my android min and target versions in order to comply with Google’s new policies, however since doing so, purchasing for all upgraded apps has broken for Amazon.
- Unity 2022.3.42f1
- Unity IAP 4.12.2
- Android min 24
- Android target 34
I can confirm that the product catalog in editor matches that on the store, the AmazonAppStore is set correctly, and that 7 products are being added via the builder and passed to UnityPurchasing.Initialize(…).
Android logcat shows the following for debug and release builds on several Amazon devices…
2024/10/17 10:25:44.383 2554 2658 Debug d In App Purchasing SDK - Sandbox Mode: PurchasingListener registered: com.unity.purchasing.amazon.AmazonPurchasing@2a88b6a
2024/10/17 10:25:44.384 2554 2658 Debug d In App Purchasing SDK - Sandbox Mode: PurchasingListener Context: com.unity3d.player.UnityPlayerActivity@f288fb0
2024/10/17 10:25:44.405 2554 2658 Debug Unity Purchasing Amazon RetrieveProducts 7
2024/10/17 10:25:44.406 2554 2658 Debug c In App Purchasing SDK - Sandbox Mode: sendGetUserDataRequest
I would expect OnInitialize(…, …) or OnIntializeFailed(…) to be called at this point, but neither do. Upon opening my in-app store page and attempting a purchase, I receive the following error…
Purchase failed because Purchasing was not initialized correctly
Any help with this is much appreciated, thank you.