public void InitializeStore()
    {
        CloudGoods.GetStandardCurrencyBalance(0, null);
        CloudGoods.GetPremiumCurrencyBalance(null);

        CloudGoods.GetStoreItems(OnReceivedStoreItems);
        CloudGoods.GetItemBundles(null);
    }
    public void OnReceivedPurchaseResponse(PurchasePremiumCurrencyBundleResponse data)
    {
        if (RecievedPurchaseResponse != null)
        {
            RecievedPurchaseResponse(data);
        }

        CloudGoods.GetPremiumCurrencyBalance(null);
    }
 void OnRecievedPurchaseResponse(PurchasePremiumCurrencyBundleResponse data)
 {
     Debug.Log("Received purchase response:  " + data);
     isPurchaseRequest = false;
     CloudGoods.GetPremiumCurrencyBalance(null);
 }
 public void OnReceivedPurchaseResponse(PurchasePremiumCurrencyBundleResponse data)
 {
     Debug.Log("received credit response: " + data);
     RecievedPurchaseResponse(data);
     CloudGoods.GetPremiumCurrencyBalance(null);
 }