Answers for "unity product.hasreceipt"

C#
0

unity product.hasreceipt

Product product = storeController.products.WithID(productId);
if (product != null && product.hasReceipt)
{
    // Owned Non Consumables and Subscriptions should always have receipts.
    // So here the Non Consumable product has already been bought.
    itemBought = true;
}
Posted by: Guest on August-13-2020

C# Answers by Framework

Browse Popular Code Answers by Language