private void OnConsumeButton_pressed()
        {
            if (string.IsNullOrEmpty(_testItemPurchaseToken))
            {
                ShowAlert("You need to set 'test_item_purchase_token' first! (either by hand or in code)");
                return;
            }

            _payment.ConsumePurchase(_testItemPurchaseToken);
        }
Exemple #2
0
 private void OnGooglePlayBilling_PurchaseAcknowledged(string purchaseToken)
 {
     _googlePlayBilling.ConsumePurchase(purchaseToken);
 }