# MD for: https://www.mercadopago.com.uy/developers/es/docs/checkout-pro-orders/integration-test/test-purchase-with-card.md \# Make a test purchase with cards With the test order created, use Mercado Pago test cards to simulate different payment results. Available scenarios include approved, rejected, and pending payments, allowing you to validate how your integration handles each situation before going to production. ## Test a card purchase To test a purchase with a credit or debit card, follow the steps below. 1\. Go to \[Mercado Pago Developers\](https://www.mercadopago.com.uy/developers/en/docs) and log in with a test buyer account you previously created. Use the username and password assigned to it. You can find these details in \[Test the integration > Get a test buyer account\](https://www.mercadopago.com.uy/developers/en/docs/checkout-pro-orders/test-integration#bookmark\_get\_a\_test\_buyer\_account). > NOTE > > If an email verification code is requested when logging in, enter the 6-digit code associated with your test account. You can find it in \*\*\[Your integrations > Your application\](https://www.mercadopago.com/developers/panel/app) > Test accounts\*\*. 2\. Go to the store where you integrated Checkout Pro, select a product or service, and start the purchase process at the payment step. 3\. When your integration creates the order and generates the \`checkout\_url\`, you will be redirected to the Mercado Pago payment form. 4\. Finally, complete a test purchase using the \*\*test card\*\* data in the next section. The cardholder name defines the simulated payment result. ## 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\` | - | ## Verify the result To confirm the result of each test purchase, 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. For all possible statuses, see the \[Order status\](https://www.mercadopago.com.uy/developers/en/docs/checkout-pro-orders/order-status) documentation.