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, 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. In the email field, enter any valid email address. You do not need to use a test account or a specific domain.
Once you have completed all the fields, click the button to process the payment and wait for the result.
To verify that the test purchase was carried out correctly, send a request to the /v1/orders/{id}GET 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.
Alternatively, you can check the payment result from your application. To do so, go to Integrations and select the application card. Make sure the selector at the top is set to Test and, on the Home screen, select the Test payments tab. Then, find the payment and click it to view its details and status.
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.