Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Product.receipt

public string receipt;

Description

The purchase receipt for this product, if owned. Otherwise null.

JSON formatted text.

For consumable purchases, this will be the most recent purchase receipt. Consumable receipts are not saved between app restarts.