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.

AbstractStore.FinishTransaction

public void FinishTransaction(Purchasing.ProductDefinition product, string transactionId);

Parameters

transactionId The transaction ID for the purchase.
product The product that was purchased.

Description

Called when Unity IAP has finished processing a purchase.