public void restoreTransactions() { #if UNITY_METRO enumerateLicenses(); callback.onTransactionsRestoredSuccess(); #endif }
public void onTransactionsRestored(string success) { if (bool.Parse(success)) { callback.onTransactionsRestoredSuccess(); } else { callback.onTransactionsRestoredFail(""); } }
public void onTransactionsRestored(string successString) { bool success = bool.Parse(successString); if (success) { callback.onTransactionsRestoredSuccess(); } else { callback.onTransactionsRestoredFail(string.Empty); } }
public void onPurchaseUpdateSuccess(string json) { Dictionary <string, object> responseHash = (Dictionary <string, object>)Unibill.Impl.MiniJSON.jsonDecode(json); onUserIdRetrieved(responseHash.getString("userId")); if (!finishedSetup) { var products = Util.DeserialiseProductList(responseHash.getHash("products")); callback.onSetupComplete(products); finishedSetup = true; } else { // We must be restoring transactions, which is done automatically // on startup so report success. callback.onTransactionsRestoredSuccess(); } }
public void restoreTransactions() { enumerateLicenses(); callback.onTransactionsRestoredSuccess(); }
public void onTransactionsRestoredSuccess() { biller.onTransactionsRestoredSuccess(); }
public void onTransactionsRestoredSuccess() { restoreInProgress = false; biller.onTransactionsRestoredSuccess(); }