private void ConsumePurchase(Purchase purchase) { if (!purchase.IsAcknowledged) { var cParams = ConsumeParams.NewBuilder() .SetPurchaseToken(purchase.PurchaseToken) .Build(); billingClient.Consume(cParams, this); } }