Class

PKPaymentAuthorizationViewController

Prompts the user to authorize a payment request.

Declaration

@interface PKPaymentAuthorizationViewController : UIViewController

Overview

After the user authorizes the payment request for a transaction, the delegate is called with a payment token used to authorize the transaction’s payment.

Topics

Determining Whether the User Can Make Payments

+ canMakePayments

Returns whether the user can make payments.

+ canMakePaymentsUsingNetworks:

Returns whether the user can make payments through the specified network.

+ canMakePaymentsUsingNetworks:capabilities:

Returns whether the user can make payments using a card from the specified network with the specified capabilities.

Handling User Interactions

delegate

The view controller’s delegate.

PKPaymentAuthorizationViewControllerDelegate

Methods that let you respond to user interactions with your payment authorization view controller.

Creating a Payment Authorization View Controller

- initWithPaymentRequest:

Initializes and returns a payment authorization view controller.

Relationships

Inherits From

See Also

Apple Pay Availability

PKPaymentAuthorizationController

Presents a sheet that prompts the user to authorize a payment request.