void OnPurchaseFailedValidation(IAB.Purchase purchase, string purchaseData, string purchaseSignature) { currentPurchase = new Purchase(currentProduct, purchase.OrderId, TransactionStatus.Failed); SetResultAndReset(currentPurchase); }
void OnProductPurchased(int response, IAB.Purchase purchase, string purchaseData, string purchaseSignature) { currentPurchase = new Purchase(currentProduct, purchase.OrderId, TransactionStatus.Purchased); inAppSvc.BillingHandler.ConsumePurchase(purchase); }