Instance Property

delegate

The controller’s delegate.

Declaration

weak var delegate: PKPaymentAuthorizationControllerDelegate? { get set }

Discussion

The delegate is called at various points in the interaction, such as when the user selects shipping or billing information and when the user authorizes the payment request.

See Also

Handling User Interactions

protocol PKPaymentAuthorizationControllerDelegate

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

func present(completion: ((Bool) -> Void)?)

Presents the payment sheet modally over your app.

func dismiss(completion: (() -> Void)?)

Dismisses the payment sheet.