You are here

protected static property UbercartCreditCardTestCase::$test_cards in Ubercart 6.2

Same name and namespace in other branches
  1. 7.3 payment/uc_credit/tests/uc_credit.test \UbercartCreditCardTestCase::test_cards

A selection of "test" numbers to use for testing credit card payments. These numbers all pass the Luhn algorithm check and are reserved by the card issuer for testing purposes.

File

payment/uc_credit/uc_credit.test, line 28
Credit card payment method tests.

Class

UbercartCreditCardTestCase
Tests the credit card payments with the test gateway.

Code

protected static $test_cards = array(
  '378282246310005',
  // American Express
  '371449635398431',
  '378734493671000',
  // American Express Corporate
  '5610591081018250',
  // Australian BankCard
  '30569309025904',
  // Diners Club
  '38520000023237',
  '6011111111111117',
  // Discover
  '6011000990139424',
  '3530111333300000',
  // JCB
  '3566002020360505',
  '5555555555554444',
  // MasterCard
  '5105105105105100',
  '4111111111111111',
  // Visa
  '4012888888881881',
);