OPPThreeDSChallengeCallback
@objc
public protocol OPPThreeDSChallengeCallback
A protocol for 3-D Secure challenge callbacks. Receives result after challenge is finished or interrupted for some reason.
-
Called when challenge is completed without any errors.
Declaration
Swift
@objc func completed(completionEvent: OPPThreeDSCompletionEvent)Parameters
completionEventDetails about challenge completion.
-
Called if shopper manually aborts authentication by tapping ‘Cancel’ button.
Declaration
Swift
@objc func cancelled() -
Called if some internal error has occurred.
Declaration
Swift
@objc func failed(errorEvent: OPPThreeDSErrorEvent)Parameters
errorEventDetails about challenge failure.
OPPThreeDSChallengeCallback Protocol Reference