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.