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
MBS(
"StoreKit.FinishTransaction"; /* Completes a pending transaction. */
$TransactionID) /* The ID of the transaction. */
Less
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