Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

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.

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.

Blog Entries

This function checks for a license.

Created 22nd April 2018, last changed 22nd April 2018


StoreKit.CanMakePayments - StoreKit.InvalidProductIdentifiers

💬 Ask a question or report a problem