/n software 3-D Secure V2 .NET Edition

Questions / Feedback?

CardRange Event

Fired when the response to a Preparation Request Message (PReq) is received.

Syntax

public event OnCardRangeHandler OnCardRange;

public delegate void OnCardRangeHandler(object sender, ServerCardRangeEventArgs e);

public class ServerCardRangeEventArgs : EventArgs {
  public string RangeStart { get; }
  public string RangeEnd { get; }
  public string RangeAction { get; }
  public string ACSStartProtocolVersion { get; }
  public string ACSEndProtocolVersion { get; }
  public string DSStartProtocolVersion { get; }
  public string DSEndProtocolVersion { get; }
  public string ThreeDSMethodURL { get; }
  public string ACSInformationIndicator { get; }
  public bool Valid { get; set; }
}
Public Event OnCardRange As OnCardRangeHandler

Public Delegate Sub OnCardRangeHandler(sender As Object, e As ServerCardRangeEventArgs)

Public Class ServerCardRangeEventArgs Inherits EventArgs
  Public ReadOnly Property RangeStart As String
  Public ReadOnly Property RangeEnd As String
  Public ReadOnly Property RangeAction As String
  Public ReadOnly Property ACSStartProtocolVersion As String
  Public ReadOnly Property ACSEndProtocolVersion As String
  Public ReadOnly Property DSStartProtocolVersion As String
  Public ReadOnly Property DSEndProtocolVersion As String
  Public ReadOnly Property ThreeDSMethodURL As String
  Public ReadOnly Property ACSInformationIndicator As String
  Public Property Valid As Boolean
End Class

Remarks

The CardRange event fires for each range of card numbers to be added or removed from the cache. The RangeAction parameter indicates whether the range specified by the RangeStart and RangeEnd arguments is to be added or deleted from the current cache.

RangeStart13-19 digit account number from the Directory indicating the first number in a range of account numbers to be added or deleted from the current cache.
RangeEnd13-19 digit account number from the Directory indicating the last number in a range of account numbers to be added or deleted from the current cache. This End number must be the same length as the Start number.
RangeActionIndicates the action to be taken with the card range specified by the RangeStart and RangeEnd parameters. Possible values are:
  • A - Add the card range to the cache (default value)
  • D - Delete the card range from the cache
  • M - Modify the card range data (2.2.0 only)
If the SerialNumber was not included in the Card Range Request, the Action will be A (add) for all ranges returned. If no action is returned for the card range (empty value), it can be assumed that the action for the range is A. Note that the card ranges must be processed in the order returned.
ACSStartProtocolVersionThe earliest (i.e. oldest) active protocol version that is supported by the ACS.
ACSEndProtocolVersionThe most recent active protocol version that is supported by the ACS URL.
DSStartProtocolVersionThe earliest (i.e. oldest) active protocol version that is supported by the DS.
DSEndProtocolVersionThe most recent active protocol version that is supported by the DS.
ThreeDSMethodURLThe fully qualified ACS URL that will be used by the 3DS method.
ACSInformationIndicatorAdditional information on the card range as supplied by the ACS. This field is a comma separate list of values returned from the server; possible values are:
  • 01 - Authentication Available at ACS
  • 02 - Attempts Supported by ACS or DS
  • 03 - Decoupled Authentication Supported
  • 04 - Whitelisting Supported
  • 80-99 - Reserved for DS Use
ValidWhether or not the card range data is valid. If an issue is found with the card range data, this can be set to false to cause a 203 error to be returned to the directory server.

Note that the card ranges must be processed in the order returned.

These card ranges are also returned outside this event in the Start, End, Action, ACSStartProtocolVersion, ACSEndProtocolVersion, and MethodURL fields.

Copyright (c) 2021 /n software inc. - All rights reserved.
/n software 3-D Secure V2 .NET Edition - Version 2.2 [Build 7954]