Instance Method

paymentAuthorizationController(_:didSelectPaymentMethod:handler:)

Tells the delegate that the payment method has changed and asks for an updated payment request.

Declaration

optional func paymentAuthorizationController(_ controller: PKPaymentAuthorizationController, didSelectPaymentMethod paymentMethod: PKPaymentMethod, handler completion: @escaping (PKPaymentRequestPaymentMethodUpdate) -> Void)

Discussion

See Also

Handling User's Payment Method Selection

func paymentAuthorizationController(PKPaymentAuthorizationController, didSelectPaymentMethod: PKPaymentMethod, completion: ([PKPaymentSummaryItem]) -> Void)

Tells the delegate that the payment method has changed and asks for a list of updated summary items.

Deprecated