Perform a test purchase with PagoEfectivo ATM
Integration tests for PagoEfectivo ATM 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 do this, follow the steps below.
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 and use any valid email address in the email field.
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 completed correctly, send a request to the /v1/orders/{id}GET endpoint, replacing id with the order identifier returned in the creation response.
The response must include the detailed test transaction information, with the action_required status and waiting_payment status detail, which indicate 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 PagoEfectivo ATM integration is complete and you can either continue testing your other configurations or go to production.