card_is_encrypted Property
Determines whether data set to the Number property is validated.
Syntax
def get_card_is_encrypted() -> bool: ... def set_card_is_encrypted(value: bool) -> None: ...
card_is_encrypted = property(get_card_is_encrypted, set_card_is_encrypted)
Default Value
FALSE
Remarks
Determines whether data set to the card_number property is validated.
By default, when the card_number field is set, the value will be validated and normalized. For instance, "4444-33332222 1111" will be normalized as "4444333322221111". However, any other non-numerical data entered will cause an exception to be thrown. It may be useful in some gateways to send other data in the card_number field, and this can be accomplished by setting IsEncrypted to true. However, please note that in doing so automatic calculation of the card_type may be affected, and the card number will not be verified.