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
- Version 14.3
- Changed StoreKit.FinishTransaction to allow passing of index in additional of transaction Identifier.
- Version 14.1
- Fixed bug in StoreKit.FinishTransaction function not finding the transaction.
Blog Entries
- MBS FileMaker Plugin, version 14.3pr5
- MBS FileMaker Plugin, version 14.1pr2
- Working on new Store Kit functions
This function checks for a license.
Created 22nd April 2018, last changed 26th June 2024
StoreKit.CanMakePayments - StoreKit.InvalidProductIdentifiers