Forum Moderators: buckworks

Message Too Old, No Replies

Test Credit Card Numbers (Luhn Algorithm)?

For Website Test Orders...

         

olimits7

6:50 pm on May 21, 2008 (gmt 0)

10+ Year Member



Hi,

Does anybody know if there is any software or website that lists at least 20-30 different test credit card numbers?

I need test credit cards in a Visa, MC, Amex, and Discover card formats.

I want to create test orders on my website to make sure my encrypted credit card numbers functions properly with my back-end order management software.

I would use any numbers, but my website uses the luhn algorithm for credit cards; so if I type a credit card that doesn't meet that algorithm I can't submit any orders.

Thank you,

olimits7

jwolthuis

8:17 pm on May 21, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Isn't the Luhn checksum the last digit of the card number? Any random sequence of 16 digits should pass 10% of the time. If a sequence doesn't work, add 1, and retest. You'll find a number that meets the Luhn test in seconds.

Rugles

6:26 pm on May 22, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



After reading this yesterday I went over to Wiki and read their explaination just to get it clear in my head.

In our office we always wondered what "Luhn" error meant on our credit card machines.

Now we know. Thanks for bringing it up.