validatione-commercepayment-gateway3d-secure

How do CAVV and XID look like?


CAVV and XID are tokens to prove a 3D Secure transaction was authenticated. But how do they look like? If I receive one, how can I validate it really is a CAVV or XID? Can it be any 28-character long string? Or are there some rules (like the Luhn formula for credit card numbers)?


Solution

  • CAVV/AVV/UCAF/AEVV values can be encoded according to the merchants configuration in either Base64 encoding or Hex encoding.

    Similarly XID will be encoded according to the merchants configuration in either Base64 encoding or Hex encoding as well.