protected static property UbercartCreditCardTestCase::$test_cards in Ubercart 7.3
Same name and namespace in other branches
- 6.2 payment/uc_credit/uc_credit.test \UbercartCreditCardTestCase::test_cards
A selection of "test" numbers to use for testing credit card payemnts. These numbers all pass the Luhn algorithm check and are reserved by the card issuer for testing purposes.
File
- payment/
uc_credit/ tests/ uc_credit.test, line 27 - Credit card payment method tests.
Class
- UbercartCreditCardTestCase
- Tests credit card payments with the test gateway.
Code
protected static $test_cards = array(
'378282246310005',
// American Express
'371449635398431',
'370000000000002',
'378734493671000',
// American Express Corporate
'5610591081018250',
// Australian BankCard
'30569309025904',
// Diners Club
'38520000023237',
'38000000000006',
// Carte Blanche
'6011111111111117',
// Discover
'6011000990139424',
'6011000000000012',
'3530111333300000',
// JCB
'3566002020360505',
'3088000000000017',
'5555555555554444',
// MasterCard
'5105105105105100',
'4111111111111111',
// Visa
'4012888888881881',
'4007000000027',
'4012888818888',
);