PaymentAuthenticationDelegate

public protocol PaymentAuthenticationDelegate : AnyObject

The delegate of a PaymentAuthenticator that is notified of the authentication results

  • The authentication was successful. You can retry processing the payment agian.

    Declaration

    Swift

    func paymentAuthenticationDidSucceed()
  • The authentcation failed.

    • authenticator: The class that performed the authentication
    • error: The error that failed the authentication process

    Declaration

    Swift

    func paymentAuthenticationDidFailWith(_ error: Error)