Developers
API Reference
Support
Sign in

    Home

    Getting started

    Online Payments

    Checkout Pro

    Checkout API

    Payment Link

    Subscriptions

    Marketplace

    Mobile Checkout

    Web Tokenize Checkout

    In person payments

    QR Code

    Mercado Pago Point

    Plugins and platforms

    WooCommerce

    Prestashop

    Magento 2

    Shopify

    Tiendanube

    VTEX

    SDKs

    Notifications

    Webhooks

    IPN

    Account Management

    Reports

    Get payments

    Improves approval

    Chargeback Management

    Cashback and Cancellations

    Requirements for production environment

    Resources

    Localization

    Changelog

    Status

IN THIS PAGE

Suggest edit
Help us improve the documentation
Did you see wrong information and would you like us to explain something else or improve our manuals? Please leave your suggestions on GitHub.

Test the integration

Before going into production, it is very important to test the payments flow, checking whether the configurations you made at the preference level are effectively reflected in the checkout.

You should check if:

  • The information about the product or service to be paid is correct.
  • If you recognize the customer’s account to send the email.
  • It offers the payment methods you wish.
  • The payment experience is adequate and the payment result is reported.

To test the integration, follow the steps below:

  1. Configure the sandbox public keyin your application.
  2. Create the preference on your server with the access token.
  3. Complete the form, entering the digits of a test card. On the expiration date you must enter any date after the current date and a 3-or 4-digit security code, depending on the card.
  4. In the cardholder field you must enter the prefix corresponding to what you want to test:
  • APRO: Payment approved.
  • CONT: Pending payment.
  • CALL: Payment declined, call to authorize.
  • FUND: Payment declined due to insufficient funds.
  • SECU: Payment declined by security code.
  • EXPI: Payment declined by expiration date.
  • FORM: Payment declined due to error in form.
  • OTHE: General decline.

Test cards to test our checkout

Use these test cards to test the different payment results.

CountryVisaMastercardAmerican Express
Argentina4509 9535 6623 37045031 7557 3453 06043711 803032 57522
Brazil4235 6477 2802 56825031 4332 1540 63513753 651535 56885
Chile4168 8188 4444 71155416 7526 0258 25803757 781744 61804
Colombia4013 5406 8274 62605254 1336 7440 35643743 781877 55283
Mexico4075 5957 1648 37645474 9254 3267 03663766 7520 5781 151
Peru4009 1753 3280 6176unavailableunavailable
Uruguay4157 2362 1173 64865161 4413 1585 2061unavailable
Venezuela4966 3823 3110 93105177 0761 6430 0010unavailable

You can also use test credit cards from local payment methods in each country.

Was this information helpful?

Copyright © 2021 MercadoLibre S. de R.L. de C.V.

Terms and conditionsHow we take care of your privacy
Partners Mercado Pago

Al navegar en este sitio aceptas las cookies que utilizamos para mejorar tu experiencia. Más información.