TheIronYard--Orlando / TheIronTome

1 stars 4 forks source link

validate credit cards #5

Open bgates opened 9 years ago

bgates commented 9 years ago

if a person makes a purchase by credit card, the app should validate that the card is...valid. DO NOT use a real credit card for this. There are numbers available online that fit the pattern of a real credit card (the Luhn formula) that aren't connected to any real bank account.

bgates commented 9 years ago

to do that you'll need to be able to actually enter a credit card number. Don't make that an attribute stored in the db - you don't want that kind of security headache. Do make sure your log files get scrubbed of the cc numbers.