Exemplo n.º 1
0
 public void restoreTransactions()
 {
     #if UNITY_METRO
     enumerateLicenses();
     callback.onTransactionsRestoredSuccess();
     #endif
 }
Exemplo n.º 2
0
 public void onTransactionsRestored(string success)
 {
     if (bool.Parse(success))
     {
         callback.onTransactionsRestoredSuccess();
     }
     else
     {
         callback.onTransactionsRestoredFail("");
     }
 }
Exemplo n.º 3
0
        public void onTransactionsRestored(string successString)
        {
            bool success = bool.Parse(successString);

            if (success)
            {
                callback.onTransactionsRestoredSuccess();
            }
            else
            {
                callback.onTransactionsRestoredFail(string.Empty);
            }
        }
Exemplo n.º 4
0
        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();
            }
        }
Exemplo n.º 5
0
 public void restoreTransactions()
 {
     enumerateLicenses();
     callback.onTransactionsRestoredSuccess();
 }
Exemplo n.º 6
0
 public void onTransactionsRestoredSuccess()
 {
     biller.onTransactionsRestoredSuccess();
 }
 public void onTransactionsRestoredSuccess()
 {
     restoreInProgress = false;
     biller.onTransactionsRestoredSuccess();
 }