Method FinishTransaction
FinishTransaction(ProductDefinition, string)
Called by Unity Purchasing when a transaction has been recorded. Store systems should perform any housekeeping here, such as closing transactions or consuming consumables.
Declaration
void FinishTransaction(ProductDefinition product, string transactionId)
Parameters
Type | Name | Description |
---|---|---|
ProductDefinition | product | The product purchased |
string | transactionId | The id of the transaction |