Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
StoreKit.SetRestoreCompletedTransactionsTrigger
Sets script triggered when transactions are restored.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
StoreKit | 8.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "StoreKit.SetRestoreCompletedTransactionsTrigger"; Filename; ScriptName ) More
Parameters
Parameter | Description | Example |
---|---|---|
Filename | The database file name where the script is located. | "test.fmp12" |
ScriptName | The script name. | "MyScript" |
Result
Returns OK or error.
Description
Sets script triggered when transactions are restored.The parameter to the script is either OK or the error from restoring.
Since version 15.0 the error number is used as prefix to the error message with a double colon.
See also
This function is free to use.
Created 22nd April 2018, last changed 31st December 2024
StoreKit.SetRequestFailedTrigger - StoreKit.SetUpdatedTransactionsTrigger