Hello guys, we`ve faced an issue with purchases: 400 people were started process of purchasing IAP 275 got some error 1 finished successfully 124 were simply disappeared How to find all these 113 people? Why so many people got error? How to get some detail message regarding errors? Thank you in advance!
Hi, Unity IAP’s StandardPurchasingModule relies upon a persistent GameObject named “IAPUtil”. This hidden, “DontDestroyOnLoad”-configured object can be destroyed by a game script which cleans GameObjects from the scene hierarchy (potentially useful for scene transitions). This results in Unity IAP no longer working as expected. To fix, please add an exception in the app’s hierarchy cleanup script for the “IAPUtil” GameObject. And please make sure that your IStoreListener object isn't destroyed. Otherwise, ProcessPurchase and OnPurchaseFailed will not be fired. What errors did you get? You can find the failure reason via PurchaseFailureReason in the OnPurchaseFailed callback. Store specific error can be found via ITransactionHistoryExtensions.GetLastStoreSpecificPurchaseErrorCode and ITransactionHistoryExtensions.GetLastPurchaseFailureDescription. Please find the example code in 'Assets\Plugins\UnityPurchasing\script\IAPDemo.cs'.
Thank you for reply! We will introduce all that fixes in the next version. By the way, another question: How to receive application`s revenue from Xiaomi Store? We`ve found in FAQ, that we should make a manual request, but any information about where to do that and how.
Hi, You should be able to find the revenue information on the Xiaomi Dev Portal. For more information, please email to overseas-game@xiaomi.com.
Thank you for quick reply! We`ve not found any information on Xiaomi Dev Portal. Regarding overseas-game@xiaomi.com nobody is replying for more than 5 days. Maybe you have another options to contact?
I'm sorry that that email is the only option I have. The revenue can be found at 'Projects -> Dashboard' on Xiaomi Dev Portal. Could you please send me your email address? I could remind Xiaomi of your email.