Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

StoreKit.FinishTransaction

Completes a pending transaction.

Component Version macOS Windows Linux Server iOS SDK
StoreKit 8.2 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "StoreKit.FinishTransaction"; TransactionID )   More

Parameters

Parameter Description Example
TransactionID The ID of the transaction.
Or the zero based index, e.g. 0 for the first one.
0

Result

Returns OK or error.

Description

Completes a pending transaction.
Your application should call this method on pending transaction to finish them. Calling StoreKit.FinishTransaction on a transaction removes it from the queue. Your application should call finishTransaction only after it has successfully processed the transaction and unlocked the functionality purchased by the user.
Calling StoreKit.FinishTransaction on a transaction that is in the Purchasing state returns an error.

Release notes

Blog Entries

This function checks for a license.

Created 22nd April 2018, last changed 26th June 2024


StoreKit.CanMakePayments - StoreKit.InvalidProductIdentifiers