Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmontemagno committed Jan 10, 2018
2 parents 6d30c26 + 1b3843a commit 5f4f739
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/PurchaseConsumable.md
Expand Up @@ -77,7 +77,7 @@ public async Task<bool> PurchaseItem(string productId, string payload)
{
//did not purchase
}
else
else if(purchase.State == PurchaseState.Purchased)
{
//purchased, we can now consume the item or do it later
Expand Down
5 changes: 3 additions & 2 deletions docs/PurchaseNonConsumable.md
Expand Up @@ -46,9 +46,10 @@ public async Task<bool> PurchaseItem(string productId, string payload)
{
//did not purchase
}
else
else if(purchase.State == PurchaseState.Purchased)
{
//purchased!
}
}
catch (InAppBillingPurchaseException purchaseEx)
Expand All @@ -70,4 +71,4 @@ public async Task<bool> PurchaseItem(string productId, string payload)
Learn more about `IInAppBillingVerifyPurchase` in the [Securing Purchases](SecuringPurchases.md) documentation.


<= Back to [Table of Contents](README.md)
<= Back to [Table of Contents](README.md)

0 comments on commit 5f4f739

Please sign in to comment.