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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void cancelled()
      Called when the Cardholder selects the option to cancel the transaction on the challenge screen.
      void completed​(CompletionEvent completionEvent)
      Called when the challenge process (that is, the transaction) is completed.
      void protocolError​(ProtocolErrorEvent protocolErrorEvent)
      Called when the 3DS SDK receives an EMV 3-D Secure protocol-defined error message from the ACS.
      void runtimeError​(RuntimeErrorEvent runtimeErrorEvent)
      Called when the 3DS SDK encounters errors during the challenge process.
      void timedout()
      Called when the challenge process reaches or exceeds the timeout interval that is specified during the doChallenge call on the 3DS SDK.
    • Method Detail

      • completed

        void completed​(CompletionEvent completionEvent)
        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 the doChallenge call on the 3DS SDK.
      • protocolError

        void protocolError​(ProtocolErrorEvent protocolErrorEvent)
        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

        void runtimeError​(RuntimeErrorEvent runtimeErrorEvent)
        Called when the 3DS SDK encounters errors during the challenge process. These errors include all errors except those covered by the protocolError method.
        Parameters:
        runtimeErrorEvent - Information about the error(excluding protocol error) of the challenge process.