Braintree Resources - Extensions

Braintree Resources

Below are some links to the Braintree developer documentation as well as test card and numbers provided by the publicly available developer documentation. These testing resources are maintained regularly by the Forter team, but please visit Braintree's official test card page here for the most up-to-date information and additional gateway-specific resources.

The below scenarios and card numbers are provided directly from the Braintree developer documentation for UAT testing. For the original link, visit here.

Testing a Valid Card Testing a Valid Card

Please use the following card numbers in sandbox with any valid expiration date and card Owner name to generate an authorized response from Braintree in your sandbox environment:

Number Card Type
378282246310005 American Express
371449635398431 American Express
36259600000004 Diners Club*
6011111111111117 Discover
3530111333300000 JCB
6304000000000000 Maestro
5555555555554444 Mastercard
2223000048400011 Mastercard
4111111111111111 Visa
4005519200000004 Visa
4009348888881881 Visa
4012000033330026 Visa
4012000077777777 Visa
4012888888881881 Visa

*** note that Diners Club cards are processed as Discover cards.

Braintree No-Auth Testing Braintree No-Auth Testing

Braintree provides general test cases that include no auth, 2XX responses. Please note that details required in order to test different errors in your checkout flow using Braintree

Number Card Type Verification Response
4000111111111115 Visa Processor Decline
5105105105105100 Mastercard Processor Decline
378734493671000 American Express Processor Decline
6011000990139424 Discover Processor Decline
38520000009814 Diners Club* Processor Decline
3566002020360505 JCB failed (3000 response)

*** Braintree processes Diners Club cards are as Discover

Additional Testing Additional Testing

Transaction Amount Authorization Response Settlement Response
0.01 - 1999.99 Authorized Settled
2000.00 - 2999.99 Processor Declined with a processor response equal to the amount of transaction n/a
3000.00 - 3000.99 Failed with a 3000 processor response n/a
3001.00 - 4000.99 Authorized Settled
4001.00 - 4001.99 Authorized Settlement Declined on certain transaction types with a processor response equal to the amount; Settled on all others
4002.00 - 4002.99 Authorized Settlement Declined on certain transaction types with a processor response equal to the amount; Settled on all others
5001.00 Gateway Rejected with a reason of Application Incomplete n/a
5001.01 Processor Declined on PayPal transactions in the Mocked PayPal flow with a 2038 processor response. Authorized on all others n/a on PayPal transactions; Settled on all others
5001.02 Authorized Processor Unavailable on certain transaction types with a processor response of 3000. Settled on all others
5002.00 and up Authorized Settled