ec_pretty_creditcard_type

one of the documented procedures in this installation of the ACS
Usage:
ec_pretty_creditcard_type   creditcard_type
What it does:
Returns the credit card type based on the one-or-two-letter code for that type.
Defined in: /web/philip/tcl/ecommerce-utilities.tcl

Source code:


    if { $creditcard_type == "a" || $creditcard_type == "ax"} {
	return "American Express"
    } elseif { $creditcard_type == "v" || $creditcard_type == "vs"} {
	return "Visa"
    } elseif { $creditcard_type == "m" || $creditcard_type == "mc"} {
	return "MasterCard"
    } else {
	return "Unknown"
    }


philg@mit.edu