An object in the payment queue.
- iOS 3.0+
- macOS 10.7+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
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.
Getting Transaction Information
var error: Error?
An object describing the error that occurred while processing the transaction.
Getting Transaction State
An abstract class that represents a request to the App Store.
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