in reply to Accepting Credit Cards

Apart from the sound advice above, a useful module is Business::CreditCard. It is very nice being able to check the format of the credit card number before doing any further checks.