public void onPurchaseSucceeded(PurchasableItem item)
        {
            string receipt, signature;

            extractReceiptAndSignature(item, out receipt, out signature);
            analytics.Transaction(item.LocalId,
                                  item.priceInLocalCurrency,
                                  item.isoCurrencySymbol,
                                  receipt,
                                  signature);
        }
Exemplo n.º 2
0
        public void OnPurchaseSucceeded(Product product)
        {
            if (null == product.metadata.isoCurrencyCode)
            {
                return;
            }

            m_Analytics.Transaction(product.definition.storeSpecificId,
                                    product.metadata.localizedPrice,
                                    product.metadata.isoCurrencyCode,
                                    product.receipt,
                                    null);
        }