Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
StoreKit.Transactions
Returns an array of pending transactions as JSON.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
StoreKit | 8.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "StoreKit.Transactions" )
Parameters
none
Result
Returns JSON or error.
Description
Returns an array of pending transactions as JSON.For each transaction, you find values for transactionState, error, payment, originalTransaction, transactionDate and transactionIdentifier. State can be Purchasing, Purchased, Failed, Restored or Deferred.
Examples
Queries list of transactions:
Set Variable [ $transactions; Value: MBS( "StoreKit.Transactions" ) ]
See also
Blog Entries
This function checks for a license.
Created 22nd April 2018, last changed 22nd April 2018