An object in the payment queue.
- iOS 3.0+
- macOS 10.7+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 6.2+Beta
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
A request to the App Store to process payment for additional functionality offered by your app.
A mutable request to the App Store to process payment for additional functionality offered by your app.
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