request_card_ranges Method
Sends a Card Range Request message to the Directory Server.
Syntax
def request_card_ranges() -> None: ...
Remarks
RequestCardRanges sends a Card Range Request (CRReq) message to the Directory Server specified by the directory_server_url property. The resulting ranges can then be accessed by the card_range_begin, card_range_end, and card_range_action properties. The serial_number property will be updated with a serial number that reflects the state of the current cache. If you call on_request_card_ranges with a non- empty serial_number, the directory server will only return the changes to the cache since that serial_number was issued.
Card ranges returned by a Card Range Request are for credit cards that support 3-D Secure. If the customer's credit card number is not within one of these ranges, you cannot use 3-D Secure for that card. If the customer's credit card number is within the range, then you can check to see if the customer has enrolled for 3-D Secure services with verify_enrollment. Examples of card numbers that may not be eligible for 3-D Secure are check cards, corporate cards, and gift cards.