Thanks:  0
Likes:  0
Dislikes:  0

# Thread: Valid credit card numbers

1. ## Valid credit card numbers

Hi! Is it possible in SilkPerformer to create about 100 VUsers with different but valid credit card numbers? Or should I ask everyone to give me theirs in my company?

------------------

2. ## Re: Valid credit card numbers

Valid you mean actual real credit card numbers that will order... Probably not! Your best bet is your manager since he must have 100 credit cards laying around unused

You can always build the credit card numbers...

4024+Random Number

------------------
AJ Alhait
BetaSoft Inc.

3. ## Re: Valid credit card numbers

Thank you!

------------------

4. ## Re: Valid credit card numbers

There are also 'valid' credit cards numbers which each system sets aside for testing. For example, for Visa, the numbers 4444-3333-2222-1111 and 4111-1111-1111-1111 are recognized as valid for test purposes. A little researc with your processing provider should turn these up.

------------------
Pat Hyland

5. ## Re: Valid credit card numbers

I remember the discover card nummbers always start with 6011 (ofcourse I am not so sure).

Thanks,
Raghu.

------------------

6. ## Re: Valid credit card numbers

To create a valid credit card number you need it to pass the following basic test.

if you number the digits of the card.
1 2 3 4 5 6 7 8 9 10 11 12 13

for a 13 digit visa.

Take every other digit and multiply it by two then if the result is > 10, add the digits together.
Sum all these results and also add in the digits you didn't double.

If the result is divisble by 10 then it passes the luhn digit test.

You can download credit card generators/validators from various places on the web (legitimate or not!)

for 16 digit visa: double odd digits
for 13 digit visa: double even digits
for 15 digit amex: double even digits

I have attached a spreadsheet which demonstrates the test.

Regards,
Bruce.

------------------

7. ## Re: Valid credit card numbers

From: Webopedia

Luhn formula

Based on ANSI X4.13, the LUHN formula (also known as the modulus 10 -- or mod 10 -- algorithm ) is used to generate and/or validate and verify the accuracy of credit-card numbers.

Most credit cards contain a check digit, which is the digit at the end of the credit card number. The first part of the credit-card number identifies the type of credit card (Visa, MasterCard, American Express, etc.), and the middle digits identify the bank and customer.

To generate the check digit, the LUHN formula is applied to the number. To validate the credit-card number, the check digit is figured into the formula.

Here's how the algorithm works for verifying credit cards; the math is quite simple:

1) Starting with the second to last digit and moving left, double the value of all the alternating digits.

2) Starting from the left, take all the unaffected digits and add them to the results of all the individual digits from step 1. If the results from any of the numbers from step 1 are double digits, make sure to add the two numbers first (i.e. 18 would yield 1+8). Basically, your equation will look like a regular addition problem that adds every single digit.

3) The total from step 2 must end in zero for the credit-card number to be valid.

The LUHN formula was created in the late 1960s by a group of mathematicians. Shortly thereafter, credit card companies adopted it. Because the algorithm is in the public domain, it can be used by anyone.

The LUHN formula is also used to check Canadian Social Insurance Number (SIN) validity. In fact, the LUHN formula is widely used to generate the check digits of many different primary account numbers. Almost all institutions that create and require unique account or identification numbers use the Mod 10 algorithm.

------------------

8. ## Re: Valid credit card numbers

the valid numbers are in a pattern as follows:
MASTERCARD Prefix 51-55 Length 16
VISA Prefix 4 Length 13, 16
AMEX Prefix 34 or 37 Length 15
Diners Club/Carte Blanche Prefix 300-305 or 36 or 38 Length 14
Discover Prefix 6011 Length 16
JCB Prefix 3 Length 16
JCB Prefix 2131 or 1800 Length 15
Last number is a checksum, generated as described by Bruce.

This is common available informations, as most credit card verifications are using this for a quick check - whats not in this pattern should not be a valid number. Only the special credit card institute can give the answer if a number is a real credit card.

BUT be aware of using this generated numbers for real world shopping (or for testing on systems under production environment), you might generate an existing number which will lead you to jail at highspeed .... ;-)

------------------

9. ## Re: Valid credit card numbers

I've never dealt with this issue so I'm happy to see so much information shared by all out there. Not to mention I was starting to wonder if anyone used this forum anymore.

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.