Interface ChallengeStatusReceiver
public interface ChallengeStatusReceiver
A callback interface that shall receive challenge status notification
from the 3DS SDK at the end of the challenge process.
-
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when the Cardholder selects the option to cancel the transaction on the challenge screen.voidcompleted(CompletionEvent completionEvent) Called when the challenge process (that is, the transaction) is completed.voidprotocolError(ProtocolErrorEvent protocolErrorEvent) Called when the 3DS SDK receives an EMV 3-D Secure protocol-defined error message from the ACS.voidruntimeError(RuntimeErrorEvent runtimeErrorEvent) Called when the 3DS SDK encounters errors during the challenge process.voidtimedout()Called when the challenge process reaches or exceeds the timeout interval that is specified during thedoChallengecall on the 3DS SDK.
-
Method Details
-
completed
Called when the challenge process (that is, the transaction) is completed. When a transaction is completed, a transaction status shall be available.- Parameters:
completionEvent- Information about completion of the challenge process.
-
cancelled
void cancelled()Called when the Cardholder selects the option to cancel the transaction on the challenge screen. -
timedout
void timedout()Called when the challenge process reaches or exceeds the timeout interval that is specified during thedoChallengecall on the 3DS SDK. -
protocolError
Called when the 3DS SDK receives an EMV 3-D Secure protocol-defined error message from the ACS.- Parameters:
protocolErrorEvent- Information about the protocol error of the challenge process.
-
runtimeError
Called when the 3DS SDK encounters errors during the challenge process. These errors include all errors except those covered by theprotocolErrormethod.- Parameters:
runtimeErrorEvent- Information about the error(excluding protocol error) of the challenge process.
-