Module: Braintree::Test::CreditCardNumbers

Defined in:
lib/braintree/test/credit_card.rb

Overview

The constants contained in the Braintree::Test::CreditCardNumbers module provide credit card numbers that should be used when working in the sandbox environment. The sandbox will not accept any credit card numbers other than the ones listed below.

Defined Under Namespace

Modules: AmexPayWithPoints, CardTypeIndicators, Disputes, FailsSandboxVerification

Constant Summary collapse

AmExes =
%w[378282246310005 371449635398431 378734493671000]
CarteBlanches =

:nodoc:

%w[30569309025904]
DinersClubs =

:nodoc:

%w[38520000023237]
Discover =
"6011111111111117"
Discovers =
%w[6011111111111117 6011000990139424]
JCBs =

:nodoc:

%w[3530111333300000 3566002020360505]
Maestro =

:nodoc:

"6304000000000000"
MasterCard =
"5555555555554444"
MasterCardInternational =

:nodoc:

"5105105105105100"
MasterCards =
%w[5105105105105100 5555555555554444]
Elo =
"5066991111111118"
Hiper =
"6370950000000005"
Hipercard =
"6062820524845321"
Visa =
"4012888888881881"
VisaCountryOfIssuanceIE =
"4023490000000008"
VisaInternational =

:nodoc:

"4009348888881881"
VisaPrepaid =
"4500600000000061"
Fraud =
"4000111111111511"
RiskThreshold =
"4111130000000003"
Visas =
%w[4009348888881881 4012888888881881 4111111111111111 4000111111111115 4500600000000061]
Unknowns =
%w[1000000000000008]
All =
AmExes + Discovers + MasterCards + Visas + AmexPayWithPoints::All