diff --git a/docs/PurchaseNonConsumable.md b/docs/PurchaseNonConsumable.md index af1798f..16e085d 100644 --- a/docs/PurchaseNonConsumable.md +++ b/docs/PurchaseNonConsumable.md @@ -46,9 +46,10 @@ public async Task PurchaseItem(string productId, string payload) { //did not purchase } - else + else if(purchase.State == PurchaseState.Purchased) { //purchased! + } } catch (InAppBillingPurchaseException purchaseEx) @@ -70,4 +71,4 @@ public async Task PurchaseItem(string productId, string payload) Learn more about `IInAppBillingVerifyPurchase` in the [Securing Purchases](SecuringPurchases.md) documentation. -<= Back to [Table of Contents](README.md) \ No newline at end of file +<= Back to [Table of Contents](README.md)