Test payments - Sales processing - Mercado Pago Developers
Which documentation are you looking for?

Do not know how to start integrating? 

Check the first steps

Test payments

Purchase tests are essential to ensure that payments are processed correctly before authorizing real transactions. To verify that your store is set up correctly, we recommend testing payments before launching it in production.

Important
Testing can only be performed after the integration configuration.

Here's how to test the integration:

  1. Access Your integrations in the Mercado Pago admin and select the application you want to test.
  2. Click on Test Accounts in the left menu.
  3. Within the Test Accounts section, click on Create test account and create two different accounts: one for the seller and another for the buyer. It is not possible to use the same test account for both roles. Refer to the Test accounts documentation for a step-by-step guide on creating test accounts.

Create Account

  1. Open a new incognito window and log in to Mercado Pago using the seller's test account created in the previous step.
  2. In the same incognito window logged in as the seller, access the Developer dashboard and create a new application, following the detailed instructions in the Developer dashboard documentation.

Login

  1. Access the application created in the previous step and click on Production credentials in the left menu. Copy the access_token and public_key.

Production credentials

  1. Go to the settings of the Adobe Commerce panel (Stores > Configuration > Sales > Payment Methods > Other payment methods > Configure > Basic Settings > Mercado Pago Integration).
  2. Select the Production option in the "Checkout operation mode" field.
  3. Enter the production credentials access_token and public_key of the seller's test account.

Panel

  1. Click on Save Config.

  2. Open a new incognito window and log in to Mercado Pago using the buyer's test account created in step 3.

  3. In the same window logged in as a buyer, access your store and make a purchase by providing test information such as CPF, RG, phone, and email from the buyer's test account. Also, use the test cards available in the documentation corresponding.

Important
During testing, you will be operating in the production environment. However, this is a test in which you will be using fictional credentials to simulate real scenarios. After completing the tests, remember to replace the seller's credentials (both production and test), entered in the plugin panel in step 9, with the real credentials from your Mercado Pago account. This action will allow you to continue selling in your store and avoid confusion.

After completing a test purchase using either Checkout Pro or Checkout Transparente, the approval of the purchase will be visible in the Adobe Administrative Panel, except for purchases made through offline methods and Pix which will remain in pending status.

Additionally, the orders will be recorded in the order history of the Mercado Pago seller's test account.