Interface ChallengeStatusHandler
-
- All Implemented Interfaces:
public interface ChallengeStatusHandler
A callback object that implements this interface will receive a challenge status notification from the 3DS SDK. Depending on the ChallengeResult of the challenge process, the App may display a error/success message or redirect the Cardholder to a screen in the App.
A call to
/authorise3ds2
with the Completed.transactionStatus is required when the challenge is completed successfully.A call to
/authorise3ds2
with the additional details provided in the Error.additionalDetails or Cancelled.additionalDetails or Timeout.additionalDetails and the Error.transactionStatus or Cancelled.transactionStatus or Timeout.transactionStatus is required when the transaction is not successfully completed.
-
-
Method Summary
Modifier and Type Method Description abstract Unit
onCompletion(ChallengeResult result)
This method will be called when: challenge process is completed successfully.
Cardholder selects the option to cancel the transaction in the challenge screen.
3DS SDK receives an erroneous message from the ACS.
3DS SDK encounters errors during the challenge process.
challenge process exceeds the timeout specified in the call for Transaction.doChallenge.
-
-
-
Method Detail
-
onCompletion
abstract Unit onCompletion(ChallengeResult result)
This method will be called when:
challenge process is completed successfully.
Cardholder selects the option to cancel the transaction in the challenge screen.
3DS SDK receives an erroneous message from the ACS.
3DS SDK encounters errors during the challenge process.
challenge process exceeds the timeout specified in the call for Transaction.doChallenge.
When the ChallengeResult is Completed the transactionStatus is made available to be sent to Adyen Server.
When the ChallengeResult is Cancelled or Error or Timeout additionalDetails and the transactionStatus are made available to be sent to Adyen Server.
- Parameters:
result
- The ChallengeResult contains information about the challenge result status.
-
-