Various online services have different values for maximum year of expiry, when it comes to Credit Cards.
For instance:
Here is a Javascript code snippet you can use to display a customizable list of upcoming years for CC validation:
var yearsToShow = 20;
var thisYear = (new Date()).getFullYear();
for (var y = thisYear; y < thisYear + yearsToShow; y++) {
var yearOption = document.createElement("option");
yearOption.value = y;
yearOption.text = y;
document.getElementById("expYear").appendChild(yearOption);
}