Quantcast
Channel: Questions in topic: "iap"
Viewing all articles
Browse latest Browse all 595

Delete All Purchases in Unity IAP

$
0
0
I'm trying to make a "Clear Player Data" button in my game, and I'd like clear all the purchases the player made through the Unity IAP API. This way, if they press "Restore Purchases" right after, they would be able receive them back again. This being an alternative from them deleting/re-installing the app. I noticed UnityPurchasing.ClearTransactionLog(), (https://docs.unity3d.com/ScriptReference/Purchasing.UnityPurchasing.ClearTransactionLog.html) but the documentation notes it should only be used for testing. Is there a more official way to do this? I'm using the latest version of Unity's IAP API (as of January 22, 2017). Unity 5.5.0f3.

Viewing all articles
Browse latest Browse all 595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>