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.

IStoreCallback.useTransactionLog

public bool useTransactionLog;

Description

Toggle use of Unity IAP's transaction log.

Unity IAP features a transaction log that is used to de-duplicate transactions and ensure that any transactions completed offline are successfully processed when the app is next initialized. If your store does not need this functionality the transaction log can be disabled by setting this to 'false'.