Protocol

SKPaymentQueueDelegate

The protocol implemented to provide information needed to complete transactions.

Declaration

protocol SKPaymentQueueDelegate

Overview

This protocol includes a method that lets your app decide whether to continue a transaction if the customer's App Store storefront has changed.

Topics

Continuing Transactions

func paymentQueue(SKPaymentQueue, shouldContinue: SKPaymentTransaction, in: SKStorefront) -> Bool

Asks the delegate if the transaction should continue if the device's App Store storefront has changed during a transaction.

Showing Price Consent

func paymentQueueShouldShowPriceConsent(SKPaymentQueue) -> Bool

Asks the delegate whether to immediately display a price consent sheet.

Relationships

Inherits From

See Also

Essentials

Setting Up the Transaction Observer for the Payment Queue

Enable your app to receive and handle transactions by adding an observer.

Offering, Completing, and Restoring In-App Purchases

Fetch, complete, and restore transactions in your app.

class SKPaymentQueue

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

protocol SKPaymentTransactionObserver

A set of methods that process transactions, unlock purchased functionality, and continue promoted in-app purchases.

class SKRequest

An abstract class that represents a request to the App Store.