Class

SKPaymentTransaction

An object in the payment queue.

Declaration

@interface SKPaymentTransaction : NSObject

Overview

A payment transaction is created whenever a payment is added to the payment queue. Transactions are delivered to your app when the App Store has finished processing the payment. Completed transactions provide a receipt and transaction identifier that your app can use to save a permanent record of the processed payment.

Topics

Getting Transaction Information

payment

The payment for the transaction.

transactionIdentifier

A string that uniquely identifies a successful payment transaction.

transactionDate

The date the transaction was added to the App Store’s payment queue.

originalTransaction

The transaction that was restored by the App Store.

error

An object describing the error that occurred while processing the transaction.

transactionReceipt

A signed receipt that records all information about a successful payment transaction.

Deprecated

Getting Downloads

downloads

An array of download objects representing the downloadable content associated with the transaction.

Getting Transaction State

transactionState

The current state of the transaction.

SKPaymentTransactionState

Values representing the state of a transaction.

Relationships

Inherits From

See Also

Purchases

Requesting a Payment from the App Store

Submit a payment request to the App Store when a user selects a product to buy.

Processing a Transaction

Register a transaction queue observer to get and handle transaction updates from the App Store.

SKPayment

A request to the App Store to process payment for additional functionality offered by your app.

SKMutablePayment

A mutable request to the App Store to process payment for additional functionality offered by your app.