Platforms to show: All Mac Windows Linux Cross-Platform
SKPaymentQueueMBS.addPayment(payment as SKPaymentMBS)
Function:
Adds a payment request to the queue.
Notes:
payment: A payment request.
The payment request must have a product identifier registered with the Apple App Store and a quantity greater than 0. If either property is invalid, addPayment throws an exception.
When a payment request is added to the queue, the payment queue processes that request with the Apple App Store and arranges for payment from the user. When that transaction is complete or if a failure occurs, the payment queue sends the SKPaymentTransaction object that encapsulates the request to all transaction observers.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | StoreKit | MBS MacCloud Plugin | 11.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Notes:
payment: A payment request.
The payment request must have a product identifier registered with the Apple App Store and a quantity greater than 0. If either property is invalid, addPayment throws an exception.
When a payment request is added to the queue, the payment queue processes that request with the Apple App Store and arranges for payment from the user. When that transaction is complete or if a failure occurs, the payment queue sends the SKPaymentTransaction object that encapsulates the request to all transaction observers.
SKPaymentQueueMBS.cancelDownload(download as SKDownloadMBS)
Function:
Cancel one download.
Notes: Available in Mac OS X 10.8 and newer.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | StoreKit | MBS MacCloud Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Notes: Available in Mac OS X 10.8 and newer.
SKPaymentQueueMBS.cancelDownloads(downloads() as SKDownloadMBS)
Function:
Cancel a few downloads.
Notes: Available in Mac OS X 10.8 and newer.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | StoreKit | MBS MacCloud Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Notes: Available in Mac OS X 10.8 and newer.
SKPaymentQueueMBS.Constructor
Function:
Creates a new SKPaymentQueueMBS object.
Notes:
Please make a subclass of this class to fill code into the events.
And please only have one instance of this class.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | StoreKit | MBS MacCloud Plugin | 11.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Notes:
Please make a subclass of this class to fill code into the events.
And please only have one instance of this class.
SKPaymentQueueMBS.Destructor
Function:
The destructor.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | StoreKit | MBS MacCloud Plugin | 18.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
SKPaymentQueueMBS.finishTransaction(transaction as SKPaymentTransactionMBS)
Function:
Completes a pending transaction.
Notes:
transaction: The transaction to finish.
Your application should call this method from a transaction observer that received a notification from the payment queue. Calling 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 finishTransaction on a transaction that is in the SKPaymentTransactionMBS.StatePurchasing state throws an exception.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | StoreKit | MBS MacCloud Plugin | 11.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Notes:
transaction: The transaction to finish.
Your application should call this method from a transaction observer that received a notification from the payment queue. Calling 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 finishTransaction on a transaction that is in the SKPaymentTransactionMBS.StatePurchasing state throws an exception.
SKPaymentQueueMBS.pauseDownload(download as SKDownloadMBS)
Function:
Pauses one download.
Notes: Available in Mac OS X 10.8 and newer.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | StoreKit | MBS MacCloud Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Notes: Available in Mac OS X 10.8 and newer.
SKPaymentQueueMBS.pauseDownloads(downloads() as SKDownloadMBS)
Function:
Pauses a few downloads.
Notes: Available in Mac OS X 10.8 and newer.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | StoreKit | MBS MacCloud Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Notes: Available in Mac OS X 10.8 and newer.
SKPaymentQueueMBS.restoreCompletedTransactions
Function:
Asks the payment queue to restore previously completed purchases.
Notes:
Your application calls this method to restore transactions that were previously finished so that you can process them again. For example, your application would use this to allow a user to unlock previously purchased content onto a new device.
When you create a new product to be sold in your store, you choose whether that product can be restored or not. See the In App Purchase Programming Guide for more information.
The payment queue will deliver a new transaction for each previously completed transaction that can be restored. Each transaction includes a copy of the original transaction.
After the transactions are delivered, the payment queue calls the observer's paymentQueueRestoreCompletedTransactionsFinished event. If an error occurred while restoring transactions, the observer will be notified through its paymentQueue:restoreCompletedTransactionsFailedWithError event.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | StoreKit | MBS MacCloud Plugin | 11.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Notes:
Your application calls this method to restore transactions that were previously finished so that you can process them again. For example, your application would use this to allow a user to unlock previously purchased content onto a new device.
When you create a new product to be sold in your store, you choose whether that product can be restored or not. See the In App Purchase Programming Guide for more information.
The payment queue will deliver a new transaction for each previously completed transaction that can be restored. Each transaction includes a copy of the original transaction.
After the transactions are delivered, the payment queue calls the observer's paymentQueueRestoreCompletedTransactionsFinished event. If an error occurred while restoring transactions, the observer will be notified through its paymentQueue:restoreCompletedTransactionsFailedWithError event.
SKPaymentQueueMBS.restoreCompletedTransactionsWithApplicationUsername(username as String)
Function:
Asks the payment queue to restore previously completed purchases, providing an opaque identifier for the user’s account.
Notes: username: An opaque identifier for the user’s account on your system.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | StoreKit | MBS MacCloud Plugin | 19.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Notes: username: An opaque identifier for the user’s account on your system.
SKPaymentQueueMBS.resumeDownload(download as SKDownloadMBS)
Function:
Resumes one download.
Notes: Available in Mac OS X 10.8 and newer.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | StoreKit | MBS MacCloud Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Notes: Available in Mac OS X 10.8 and newer.
SKPaymentQueueMBS.resumeDownloads(downloads() as SKDownloadMBS)
Function:
Resumes a few downloads.
Notes: Available in Mac OS X 10.8 and newer.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | StoreKit | MBS MacCloud Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Notes: Available in Mac OS X 10.8 and newer.
SKPaymentQueueMBS.startDownload(download as SKDownloadMBS)
Function:
Start one download.
Notes: Available in Mac OS X 10.8 and newer.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | StoreKit | MBS MacCloud Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Notes: Available in Mac OS X 10.8 and newer.
SKPaymentQueueMBS.startDownloads(downloads() as SKDownloadMBS)
Function:
Starts a few downloads.
Notes: Available in Mac OS X 10.8 and newer.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | StoreKit | MBS MacCloud Plugin | 12.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Notes: Available in Mac OS X 10.8 and newer.
SKPaymentQueueMBS.transactions as SKPaymentTransactionMBS()
Function:
Returns an array of pending transactions.
Notes: The value of this property is undefined when there are no observers attached to the payment queue.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | StoreKit | MBS MacCloud Plugin | 11.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Notes: The value of this property is undefined when there are no observers attached to the payment queue.
The items on this page are in the following plugins: MBS MacCloud Plugin.

Links
MBS FileMaker blog