Class

SKPayment

A request to the App Store to process payment for additional functionality offered by your app.

Declaration

@interface SKPayment : NSObject

Overview

A payment object encapsulates a string that identifies a particular product and the quantity of those items the user would like to purchase.

Topics

Creating Payments

paymentWithProduct:

Returns a new payment for the specified product.

paymentWithProductIdentifier:

Returns a new payment with the specified product identifier.

Deprecated

Getting Payment Details

productIdentifier

A string used to identify a product that can be purchased from within your application.

quantity

The number of items the user wants to purchase.

requestData

Reserved for future use.

applicationUsername

An opaque identifier for the user’s account on your system.

simulatesAskToBuyInSandbox

A Boolean value that produces an "ask to buy" flow for this payment in the sandbox.

Relationships

Inherits From

See Also

Requesting Payment

SKMutablePayment

A mutable request to the App Store to process payment for additional functionality offered by your app.

SKPaymentQueue

A queue of payment transactions to be processed by the App Store.