Interface ChallengeStatusReceiver

  • All Implemented Interfaces:

    @Deprecated(message = "Use 'ChallengeStatusHandler' instead.") 
    public interface ChallengeStatusReceiver
    
                        

    A callback object that implements this interface will receive challenge status notifications from the 3DS SDK. This receiver object may be notified through various methods. Depending on the result of the challenge process, the App may display a message or redirect the Cardholder to a screen in the App.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void completed(CompletionEvent completionEvent) This method will be called when the challenge process is completed.
      abstract void cancelled() This method will be called when the Cardholder selects the option to cancel the transaction on the challenge screen.
      abstract void timedout() This method will be called when the challenge process reaches or exceeds the timeout specified in the call for doChallenge.
      abstract void protocolError(ProtocolErrorEvent protocolErrorEvent) This method will be called when the 3DS SDK receives an error message form the ACS.
      abstract void runtimeError(RuntimeErrorEvent runtimeErrorEvent) This method will be called when the 3DS SDK encounters errors during the challenge process.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • completed

         abstract void completed(CompletionEvent completionEvent)

        This method will be called when the challenge process is completed. When a transaction is completed, the transaction status shall be available.

        Parameters:
        completionEvent - The CompletionEvent represents information about the challenge process completion.
      • cancelled

         abstract void cancelled()

        This method will be called when the Cardholder selects the option to cancel the transaction on the challenge screen. The 3DS SDK will end the challenge flow before sending notification about the cancelled event to the App.

        Notice: The App should invoke the close method to close the Transaction object properly, and display subsequent screens after it receives notification about the cancelled event.

      • timedout

         abstract void timedout()

        This method will be called when the challenge process reaches or exceeds the timeout specified in the call for doChallenge. The SDK will stop and end the challenge flow as soon as possible before sending notification about the timed out event to the App.

        Notice: The App should invoke the close method to close the Transaction object properly, and display subsequent screens after it receives notification about the cancelled event.

      • protocolError

         abstract void protocolError(ProtocolErrorEvent protocolErrorEvent)

        This method will be called when the 3DS SDK receives an error message form the ACS. The 3DS SDK sends the error code and details from this error message as part of the notification to the App. The 3DS SDK will end the challenge flow before sending notification about the Protocol Error event to the App.

        In the 3DS SDK context, a protocol error is any error message that is returned by the ACS.

        Notice: The App should invoke the close method to close the Transaction object properly, and display subsequent screens after it receives notification about the cancelled event.

        Parameters:
        protocolErrorEvent - The ProtocolErrorEvent contains the protocol error code and details.
      • runtimeError

         abstract void runtimeError(RuntimeErrorEvent runtimeErrorEvent)

        This method will be called when the 3DS SDK encounters errors during the challenge process. The 3DS SDK will end the challenge flow before sending notification about the Runtime Error event to the App.

        In the 3DS SDK context, a runtime error is any error encounter during the challenge process.

        Notice: The App should invoke the close method to close the Transaction object properly, and display subsequent screens after it receives notification about the cancelled event.

        Parameters:
        runtimeErrorEvent - The RuntimeErrorEvent contains the runtime error code and details.