Integration test - Attended model - Mercado Pago Developers
Which documentation are you looking for?

Do not know how to start integrating? 

Check the first steps

Test your integration

Create test users

Use test accounts to ensure that your integration supports all possible flows and scenarios. They have the same features as a real Mercado Pago account, which allows you to test the functioning of the integrations you are developing.

If you haven't created test users yet, go to Prerequisites to learn how to do it.

Test cards

You can use test cards of local payment methods and simulate different payment responses, without the need to use a real card.

For this, depending on your country, use one of the credit or debit cards we provide below.

Credit cards

CardNumberSecurity codeExpiration date
Mastercard5031 4332 1540 635112311/25
Visa4235 6477 2802 568212311/25
American Express3753 651535 56885123411/25

Debit cards

CardNumberSecurity codeExpiration date
Elo5067 7667 8388 831112311/25

To test different payment results, fill in the desired status in the cardholder's name:

Payment StatusDescriptionIdentity document
APROApproved payment(CPF) 12345678909
OTHEDeclined for general error(CPF) 12345678909
CONTPending payment-
CALLDeclined with validation to authorize-
FUNDDeclined for insufficient amount-
SECUDeclined for invalid security code-
EXPIDeclined due to due date issue-
FORMDeclined due to form error-

Test payment process

1. Assign an order to a checkout using your seller user.

To test the attended model, generate an order with the test user credentials you want to use as a seller and send an order to the previously created QR.

2. Make a payment with your buyer user.

  • A. Sign Mercado Pago App in with your buyer test user.
  • B. Click on Pay with QR and scan the POS QR code.
  • C. Choose a saved card or enter data of a new one, and pay.

3. Receive order notifications

Lastly, make sure you’ve received a status notification in your system. And it's done!

Validate your integration

We detailed all the necessary scenarios you should test to ensure your system's successful integration with Mercado Pago.

Validation events:

QR ModelLink
AttendedClick here
DynamicClick here