# MD for: https://www.mercadopago.com.mx/developers/pt/docs/checkout-pro-orders/integration-test-introduction.md \# 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. 1\. In \[Mercado Pago Developers\](https://www.mercadopago.com.mx/developers/en/docs), navigate to \[Your integrations\](https://www.mercadopago.com.mx/developers/panel/app) at the top right of the screen and click on the card corresponding to the application you are developing. 2\. Once in "Integration data," go to the \*\*Test Accounts\*\* section in the left sidebar. 3\. 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. !\[testuser\](https://www.mercadopago.com.mx/images/snippets/test-cross/test-accounts-buyer-es-v1.png) > NOTE > > If you need to run tests for another country, create a \[test account\](https://www.mercadopago.com.mx/developers/en/docs/checkout-pro-orders/test-integration) of type \*\*Seller\*\* and another of type \*\*Buyer\*\*, making sure to select the country you want to integrate. ## Create a test order Using your seller test credentials, create a test order following the steps in \[Redirect the buyer to checkout\](https://www.mercadopago.com.mx/developers/en/docs/checkout-pro-orders/create-order). 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 1\. Open the \`checkout\_url\` in your browser. 2\. Log in with the username and password of the test buyer account. 3\. Select a payment method and fill in the details. For card payments, use a \[test card\](https://www.mercadopago.com.mx/developers/en/docs/checkout-pro-orders/test-integration). 4\. 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 :TagComponent{tag="API" text="/v1/orders/{id}" href="/developers/en/reference/online-payments/checkout-pro/get-order/get"} including your :toolTipComponent\[test Access Token\]{content="Test private key of the application created in Mercado Pago, used in the \_backend\_. You can access it through \*Your integrations > Integration data > Test credentials\*."}: \`\`\`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\](https://www.mercadopago.com.mx/developers/en/docs/checkout-pro-orders/deploy-to-production).