Values representing the state of a transaction.
SDKs
- iOS 3.0+
- macOS 10.7+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- Store
Kit
Declaration
enum SKPaymentTransactionState : Int
Values representing the state of a transaction.
SDKs
Framework
enum SKPaymentTransactionState : Int
case purchasing
A transaction that is being processed by the App Store.
case purchased
A successfully processed transaction.
case failed
A failed transaction.
case restored
A transaction that restores content previously purchased by the user.
case deferred
A transaction that is in the queue, but its final status is pending external action such as Ask to Buy.
var transaction State: SKPayment Transaction State
The current state of the transaction.