Introduction
Testing is an essential step to ensure that the integration is working correctly and that payments are processed without errors. This allows you to identify and fix potential issues before making the checkout available to buyers.
For this, use the test buyer account automatically created with your application. With it, you can simulate payments and validate the integration.
Get a test buyer account
To test the integration, make a purchase using the test buyer account automatically created with your application. To find it, follow the steps below.
- In Mercado Pago Developers, navigate to Your integrations at the top right of the screen and click on the card corresponding to the application you are developing.
- Once in "Integration data," go to the Test Accounts section in the left sidebar.
- In the selector menu, click on Buyer. Once there, you will see the operating country of the account, the User ID, the username and password of the test account.

Create a test order
Using your seller test credentials, create a test order following the steps in Redirect the buyer to checkout. Make sure to include the test buyer account email as the payer email.
When you execute the request, save the checkout_url returned in the response. This address is what you will use in the next step to access the payment form.
Make the test payment
- Open the
checkout_urlin your browser. - Log in with the username and password of the test buyer account.
- Select a payment method and fill in the details. For card payments, use a test card.
- Confirm the payment and wait for the result.
Verify the result
To verify that the test purchase was completed correctly, send a GET to the endpoint /v1/orders/{id}API including your test Access Token:
curl
curl -X GET \ -H 'Authorization: Bearer ENV_ACCESS_TOKEN' \ 'https://api.mercadopago.com/v1/orders/{id}'
Replace {id} with the id of the order obtained when creating it. The status field in the response will indicate the transaction result for the tested scenario.
With these steps completed, your Checkout Pro integration is validated. You can now go to production.