Script Category : PHP
Script Sub Category : E-Commerce
This function accepts a credit card number and, optionally, a code for a credit card name and an expiration date. If a Name code is specified, the number is checked against card-specific criteria, then validated with the Luhn Mod 10 formula. Otherwise it is only checked against the formula. Supported credit cards include Master Card, Visa, American Express, Discover, Diners Club, JCB, Switch, Delta and EnRoute.
|