Home
Documentation
Resources
Certifications
Community
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 going live.

Important
Testing can only be performed after the integration configuration.

Here's how to test the integration:

Checkout Pro

  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's not possible to use the same test account for both seller and buyer. Refer to the Test accounts documentation for step-by-step account creation.

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 a seller, access the Developer dashboard and create a new application, following the detailed instructions in the Developer dashboard documentation.

Login

Important
If you are required to authenticate with a code sent via email while logging into a test account or trying to access some sections in Your integrations, access our documentation to learn how to validate your login with test users .
  1. Access the application created in step 5 and click on Production credentials in the left menu. Copy the access_token and public_key.

Production credentials

  1. Go to the PrestaShop panel settings (Modules > Module Manager). Locate the Mercado Pago module in the "Payment" section, click on the downward arrow, and select Configure.
  2. Enter the production credentials access_token and public_key of the seller's test account in the Production Credentials field and replicate the same information in the Test Credentials field.

Panel

  1. Remember to keep the production mode enabled in the "Production" field.

Panel

  1. Click on Save.
  2. Open a new incognito window and log in to Mercado Pago using the buyer's test account created in step 3.
Important
If you are required to authenticate with a code sent via email while logging into a test account or trying to access some sections in Your integrations, access our documentation to learn how to validate your login with test users .
  1. In the same window logged in as a buyer, access your store and make a purchase by providing test information such as phone and email from the buyer's test account. In "Documento," select the option OTRO and enter 9 digits. Also, use the test cards available in the documentation corresponding.
Important
During tests on Checkout Pro, you will be operating in the production environment; however, this is a test in which you will be using fictitious credentials to simulate real scenarios. Upon completing the tests, remember to replace the seller's credentials (both production and test) entered in the plugin panel in step 9 with the actual credentials of your Mercado Pago account. This action will allow you to continue selling in your store and avoid confusion.

After completing a test purchase using Checkout Pro, the purchase approval will be visible in the PrestaShop Administrative Panel, with the exception of purchases made through offline means, which will remain pending.

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

Checkout API

  1. Access Your integrations in the Mercado Pago admin and select the application you want to test.
  2. Click on Production credentials in the left menu. Copy the access_token and public_key.

Production credentials

  1. Go to the PrestaShop panel settings (Modules > Module Manager). Locate the Mercado Pago module in the "Payment" section, click on the downward arrow, and select Configure.
  2. Enter the production credentials access_token and public_key in the Production credentials field.
  3. In your application, click on Test credentials in the left menu. Copy the access_token and public_key.

Test credentials

  1. Also, enter the test credentials access_token and public_key in the Test credentials field.

Panel

  1. In the Prestashop panel, disable Production Mode in the "Production" field, automatically activating Test Mode.

Modo

  1. Click on Save.
  2. Access your store and make a purchase by providing test information, such as a different phone number and email address than the one associated with your Mercado Pago account. In the "Documento" field, select the OTHER option and enter 9 digits. Also, use the test cards available in the documentation corresponding.