Create a 4 Digit CVV Code for American Express Cards and Accept Leading Zeroes
If you plan on accepting American Express cards, your respondents will need to enter a 4 digit CVV code as opposed to the typical 3 digit CVV code used by other credit card companies. One way to handle this would be to use the following strategy:
- Create a CVV with a 3 digit placeholder and 3 character validation
- Create a CVV with a 4 digit placeholder and 4 character validation
- Conditionally show one or the other based on the card type selected (4-digit for Amex and 3-digit for all others)
- This is the field you would use in your connector mapping for the CVV code. You would also need to mark both of your CVV fields as variables and use the names from the above formula (i.e. StandardCVV and AmexCVV).
- This formula will also account for leading zeros in CVV codes, so they will not be stripped with the code is sent to the payment processor.
- Mark the hidden calculated field as Sensitive Data - Credit Card CVV. You can find more details on how to mark fields as sensitive here.