paymentAuthorizationControllerDidFinish(_:)
Tells the delegate that payment authorization has completed.
Declaration
@MainActor func paymentAuthorizationControllerDidFinish(_ controller: PKPaymentAuthorizationController)Parameters
- controller:
The payment authorization controller.
Discussion
Use this method to dismiss the payment authorization controller and update any other app state.
When the user authorizes a payment request, this method is called after the user is shown the status from the paymentAuthorizationController(_:didAuthorizePayment:completion:) method’s completion block. When the user cancels without authorizing the payment request, only paymentAuthorizationControllerDidFinish: is called.