Instance Method


Adds a payment request to the queue.


- (void)addPayment:(SKPayment *)payment;



A payment request.


An application should always have at least one observer of the payment queue before adding payment requests.

The payment request must have a product identifier registered with the Apple App Store and a quantity greater than 0. If either property is invalid, addPayment: throws an exception.

When a payment request is added to the queue, the payment queue processes that request with the Apple App Store and arranges for payment from the user. When that transaction is complete or if a failure occurs, the payment queue sends the SKPaymentTransaction object that encapsulates the request to all transaction observers.

See Also

Managing Transactions


A delegate that provides information needed to complete transactions.


Returns an array of pending transactions.

- finishTransaction:

Completes a pending 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