Perform a test purchase with other payment methods
Integration tests for offline payment methods such as OXXO, Paycash, Banamex, and BBVA Bancomer 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 these payment methods, 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 include the detailed information of the test transaction, with the action_required status and the 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 integration of other payment methods is complete and you can either continue testing your other configurations or go to production.