# MD for: https://www.mercadopago.com.uy/developers/es/docs/checkout-pro/integration-test/test-purchases.md \# Perform test purchases After setting up your test environment, you can perform test purchases to validate your integration with Checkout Pro and ensure that the configured payment methods work correctly. Below, we will show you how to carry out different checks in your integration. > RED\_MESSAGE > > Perform test purchases in an \*\*incognito browser tab\*\* to avoid errors from duplicate credentials during the process. ## Test a purchase with card To test a purchase with a credit or debit card, follow these steps: 1\. Access \[Mercado Pago Developers\](https://www.mercadopago.com.uy/developers/en/docs) and log in as a \*\*test buyer user\*\* that you created previously. Use the username and password assigned to it. You can find these details in the documentation \[Integration test > Get a test buyer account\](https://www.mercadopago.com.uy/developers/en/docs/checkout-pro/integration-test). > NOTE > > If you are asked for a code by email when logging in, enter the \*\*6 digits code\*\* associated with your test account, which you can find in \*\*\[Your integrations\](https://www.mercadopago.com.uy/developers/panel/app) > \*Your application\* > Test accounts\*\*. 2\. Initialize the Checkout from the payment preference you created. You can find instructions on how to initialize it in the documentation \[Add the SDK to the Frontend and Initialize Checkout\](https://www.mercadopago.com.uy/developers/en/docs/checkout-pro/web-integration/add-frontend-sdk). 3\. \*\*In an incognito browser window\*\*, access the store where you integrated Checkout Pro, select a product or service, and at the payment instance, click on the Mercado Pago purchase button. 4\. Finally, perform a test purchase using the \*\*test card\*\* details shown below. Note that you can \*\*simulate different purchase outcomes\*\* using different cardholder names on the test cards. ### Test cards Mercado Pago provides \*\*test cards\*\* that will allow you to test payments without using a real card. Their data, such as number, security code, and expiration date, can be combined with the \*\*data relating to the cardholder\*\*, which will allow you to test different payment scenarios. That is, \*\*you can use the information of any test card and test different payment results based on the cardholder's data\*\*. Below, you can see the data of the \*\*test debit and credit cards\*\*. Select the one you want to use to test your integration. | Card type | Flag | Number | Security code | Expiration date | | :--- | :---: | :---: | :---: | :---: | | Credit card | Mastercard | 5031 7557 3453 0604 | 123 | 11/30 | | Credit card | Visa | 4509 9535 6623 3704 | 123 | 11/30 | | Debit card | Visa | 4410 1036 7243 6886 | 123 | 11/30 | Next, choose which payment scenario to test and fill in the \*\*cardholder's information\*\* (First name and last name, Document type and number) as indicated in the table below. | Payment Status | Cardholder’s first and last name | Identity document | | --- | --- | --- | | Approved payment | \`APRO\` | (CI) 12345678 (otro) 123456789 | | Declined for general error | \`OTHE\` | (CI) 12345678 (otro) 123456789 | | Pending payment | \`CONT\` | - | | Declined with validation to authorize | \`CALL\` | - | | Declined for insufficient amount | \`FUND\` | - | | Declined for invalid security code | \`SECU\` | - | | Declined due to due date issue | \`EXPI\` | - | | Declined due to form error | \`FORM\` | - | | Rejected for missing card\_number | \`CARD\` | - | | Rejected for invalid installments | \`INST\` | - | | Rejected for duplicate payment | \`DUPL\` | - | | Rejected for disabled card | \`LOCK\` | - | | Rejected for non-permitted card type | \`CTNA\` | - | | Rejected due to exceeded PIN attempts | \`ATTE\` | - | | Rejected for being on the blacklist | \`BLAC\` | - | | Not supported | \`UNSU\` | - | | Used to apply amount rules | \`TEST\` | - | Once you have completed all the fields correctly, click the button to process the payment, and wait for the result. If the test is successful, you will see the test purchase success screen. If you have configured \[notifications\](https://www.mercadopago.com.uy/developers/en/docs/checkout-pro/payment-notifications), verify that you are receiving the notifications corresponding to the test transaction. ## Test a Purchase with an offline payment method You can verify if your integration correctly processes offline payment methods, such as Abitab and Red Pagos. Note that a successful test will end in a pending payment state, as purchases with offline payment methods finalize when the customer completes the payment through another means. To perform a test, follow the steps below. 1\. Access \[Mercado Pago Developers\](https://www.mercadopago.com.uy/developers/en/docs) and log in as a \*\*test buyer user\*\* that you created previously. Use the username and password assigned to it. You can find these details in the documentation \[Integration test > Get a test buyer account\](https://www.mercadopago.com.uy/developers/en/docs/checkout-pro/integration-test). > NOTE > > If you are asked for a code by email when logging in, enter the \*\*last 6 digits of the test account's User ID\*\*, which you can find in \*\*\[Your integrations\](https://www.mercadopago.com.uy/developers/panel/app) > \*Your application\* > Test accounts\*\*. 2\. Initialize the Checkout from the payment preference you created. You can find instructions on how to initialize it in the documentation \[Add the SDK to the Frontend and Initialize Checkout\](https://www.mercadopago.com.uy/developers/en/docs/checkout-pro/web-integration/add-frontend-sdk). 3\. \*\*In an incognito browser window\*\*, access the store where you integrated Checkout Pro, select a product or service, and at the payment instance, click on the Mercado Pago purchase button. 4\. Select an offline payment method and complete the payment. If the test is successful, you will see a screen indicating how to complete the payment.