Platforms to show: All Mac Windows Linux Cross-Platform

Back to SKPaymentTransactionMBS class.

SKPaymentTransactionMBS.error as NSErrorMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property StoreKit MBS MacCloud Plugin 11.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
An object describing the error that occurred while processing the transaction.

The error property is undefined except when transactionState is set to StateFailed. Your application can read the error property to determine why the transaction failed.
(Read only property)

SKPaymentTransactionMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property StoreKit MBS MacCloud Plugin 11.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The internal reference to the SKPaymentTransaction object.

(Read and Write property)

SKPaymentTransactionMBS.originalTransaction as SKPaymentTransactionMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property StoreKit MBS MacCloud Plugin 11.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The transaction that was restored by the App Store.

The contents of this property are undefined except when transactionState is set to StateRestored. When a transaction is restored, the current transaction holds a new transaction identifier, receipt, and so on. Your application will read this property to retrieve the restored transaction.
(Read only property)

Some examples using this property:

SKPaymentTransactionMBS.payment as SKPaymentMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property StoreKit MBS MacCloud Plugin 11.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The payment for the transaction.

Each payment transaction is created in response to a payment that your application added to the payment queue.
(Read only property)

Some examples using this property:

SKPaymentTransactionMBS.transactionDate as date

Type Topic Plugin Version macOS Windows Linux iOS Targets
property StoreKit MBS MacCloud Plugin 11.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The date the transaction was added to the App Store's payment queue.

The contents of this property are undefined except when transactionState is set to StatePurchased or StateRestored.
(Read only property)

SKPaymentTransactionMBS.transactionDateTime as DateTime

Type Topic Plugin Version macOS Windows Linux iOS Targets
property StoreKit MBS MacCloud Plugin 20.5 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The date the transaction was added to the App Store's payment queue.

The contents of this property are undefined except when transactionState is set to StatePurchased or StateRestored.
(Read only property)

SKPaymentTransactionMBS.transactionIdentifier as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property StoreKit MBS MacCloud Plugin 11.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
A string that uniquely identifies a successful payment transaction.

The contents of this property are undefined except when transactionState is set to StatePurchased or StateRestored. The transactionIdentifier is a string that uniquely identifies the processed payment. Your application may wish to record this string as part of an audit trail for App Store purchases. See In App Purchase Programming Guide for more information.
(Read only property)

SKPaymentTransactionMBS.transactionState as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property StoreKit MBS MacCloud Plugin 11.2 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
The current state of the transaction.

see State* constants.
(Read only property)

The items on this page are in the following plugins: MBS MacCloud Plugin.


The biggest plugin in space...