Instance Property

transactionReceipt

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

Declaration

@property(nonatomic, readonly) NSData *transactionReceipt;

Discussion

The contents of this property are undefined except when transactionState is set to SKPaymentTransactionStatePurchased.

The receipt is a signed chunk of data that can be sent to the App Store to verify that the payment was successfully processed. This is most useful when designing a store that uses a server separate from the iPhone to verify that payment was processed. For more information on verifying receipts, see Receipt Validation Programming Guide.

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.

error

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