Instance Property

original

The transaction that was restored by the App Store.

Declaration

var original: SKPaymentTransaction? { get }

Discussion

The contents of this property are undefined except when transactionState is set to SKPaymentTransactionState.restored. 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.

See Also

Getting Transaction Information

var payment: SKPayment

The payment for the transaction.

var transactionIdentifier: String?

A string that uniquely identifies a successful payment transaction.

var transactionDate: Date?

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

var error: Error?

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

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