Instance Property

error

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

Declaration

@property(nonatomic, readonly) NSError *error;

Discussion

The error property is undefined except when transactionState is set to SKPaymentTransactionStateFailed. Your application can read the error property to determine why the transaction failed. For a list of error constants, see SKErrorDomain in StoreKit Constants.

See Also

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.

transactionReceipt

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

Deprecated

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software