Posted By

hced on 11/23/10


Tagged

test validate Ecommerce transaction creditcard gateway visa mastercard


Versions (?)

Credit Card Numbers for Testing


 / Published in: Other
 

URL: http://www.freshsauce.co.uk/tech+bits/credit-card-numbers-for-testing_31

Credit Card Numbers for Testing

The following credit card numbers are valid in format for testing purposes, although obviously cannot be used to purchase real goods.

They can be used to test card gateway integration on websites.

(Credit: http://www.freshsauce.co.uk)

  1. /** Credit Card Numbers for Testing
  2. *
  3. * Description: The following credit card numbers are valid in format for testing purposes, although obviously cannot be used to purchase real goods. They can be used to test card gateway integration on websites.
  4. *
  5. * Card Type Number
  6. *
  7. * Master Card (16 Digits) 5105105105105100
  8. * Master Card (16 Digits) 5555555555554444
  9. * Visa (13 Digits) 4222222222222
  10. * Visa (16 Digits) 4111111111111111
  11. * Visa (16 Digits) 4012888888881881
  12. * American Express (15 Digits) 378282246310005
  13. * American Express (15 Digits) 371449635398431
  14. * Amex Corporate (15 Digits) 378734493671000
  15. * Dinners Club (14 Digits) 38520000023237
  16. * Dinners Club (14 Digits) 30569309025904
  17. * Discover (16 Digits) 6011111111111117
  18. * Discover (16 Digits) 6011000990139424
  19. * JCB (16 Digits) 3530111333300000
  20. * JCB (16 Digits) 3566002020360505
  21. */

Report this snippet  

You need to login to post a comment.