http://www.perlmonks.org?node_id=404285


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.