Transbank test cards
Use these details to try payments in a Transbank sandbox (test) account. They work only in the sandbox: never use them in live, and never put real card or bank details into a sandbox.
Transbank’s test environment is called the integration environment. Transbank publishes ready-made integration commerce codes for each product (Webpay Plus, Webpay Plus Mall, Oneclick Mall and others) and a shared API key secret on its Cómo empezar page: use the ones that match the product you set up in Connecting Transbank.
How to choose a test result
Section titled “How to choose a test result”- The card number sets the result (Cómo empezar). We send the customer to Transbank’s Webpay page, so you enter the card details there, not in the checkout.
- Use the integration commerce code that matches the product turned on in the Transbank connection here: Enable Webpay Normal, Enable Webpay Mall or Enable OneClick Mall (Cómo empezar).
- When Transbank’s page asks for a RUT and password, enter RUT
11.111.111-1and password123on that page (Cómo empezar). - On the next page, Transbank’s bank simulator asks for the result: our own tests enter
Aceptarto approve andRechazarto make the payment, or the OneClick card registration, fail. - The Redcompra cards work only where the payment accepts Redcompra debit: choose debit on Transbank’s page (Cómo empezar).
Transbank gives these cards for Webpay. Use any expiry date, and the CVC shown in the Notes column. If an authentication form asks for a RUT and password, use RUT 11.111.111-1 and password 123. Our own tests with Transbank’s integration environment use a future expiry date (the current month, next year) and CVC 123 with the Visa card, for both Webpay and OneClick.
Successful payments
Section titled “Successful payments”| Card | Number | Notes |
|---|---|---|
| Visa | 4051 8856 0044 6623 |
CVC 123 |
| American Express | 3700 000000 02032 |
CVC 1234 |
| Visa prepaid | 4051 8860 0005 6590 |
CVC 123 |
| Redcompra | 4051 8842 3993 7763 |
Where the payment accepts Redcompra debit |
| Redcompra | 4511 3466 6003 7060 |
Where the payment accepts Redcompra debit |
Declines and errors
Section titled “Declines and errors”| Number or trigger | Result |
|---|---|
Mastercard 5186 0595 5959 0568 (CVC 123) |
Declined |
Mastercard prepaid 5186 1741 1062 9480 (CVC 123) |
Declined |
Redcompra 5186 0085 4123 3829 |
Declined (where the payment accepts Redcompra debit) |
Visa 4051 8856 0044 6623, then Rechazar on Transbank’s bank simulator page after the RUT and password |
Payment fails, or the OneClick card registration fails. Used in our own tests |
Was this page helpful?
What went wrong?
Thanks for telling us.