Home
Documentation
Resources
Partners
Community

Resources

Check for updates on our solutions and system performance, or request technical support.

Partners

Discover our program for agencies or developers that offer integration services and sellers who want to hire them.

Community

Get the latest news, ask others for help and share your knowledge.

Online payments
In-person payments
Tools and resources
APIs and SDKs
Perform a test purchase with boleto - Integration test - Mercado Pago Developers

Perform a test purchase with boleto

Integration tests for Boleto only allow you to verify the correct creation of the payment flow, but not obtaining a final status, as this depends on the actual completion of the payment.

To test your integration with this payment method, after configuring your test environment, access the store that has integrated your checkout, select a product or service, and start the purchase process.

Then, fill in the payer data required at checkout randomly, but making sure to include the email address test @testuser.com in the email field, which is the only one allowed for testing. This way, your system will understand that it is a purchase made by test buyer user.

Once you have completed all the fields, click the button to process the payment and wait for the result.

Verify Test Purchase

To verify that the test purchase was carried out correctly, send a GET request to the /v1/orders/{id}API endpoint, replacing id with the order identification received in the response to its creation.

The response to this request should bring the detailed information of the test transaction, along with the action_required status, which indicates that payment is pending.

Ready! Once these steps are completed, the integration of boleto as a payment methods is complete and you can either continue testing your other configurations or go to production.