If the user does not provide a CCV or expiration date, the script generates random values for these fields. The generated credit card numbers are Luhn-compliant and have a total length of 16 digits.