Test payments
Purchase tests are essential to ensure that payments are processed correctly before authorizing real transactions. To verify if your store is configured correctly, we recommend testing payments before launching it in production.
Here's how to test the integration:
Checkout Pro
- Access Your integrations in the Mercado Pago admin pannel and select the application you want to test.
- Click on Test accounts in the left menu.
- 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.
- Open a new incognito window and log in to Mercado Pago using the seller's test account created in the previous step.
- 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.
- Access the application created in the previous step and click on Production credentials in the left menu. Copy the
access_token
and thepublic_key
.
- Go to the settings of the WooCommerce panel (WooCommerce > Mercado Pago > Integrate your store with Mercado Pago).
- Enter the production credentials
access_token
andpublic_key
of the seller's test account in the Production credentials field. - In the application created in step 5, click on Test credentials in the left menu. Copy the
access_token
andpublic_key
.
- Also, enter the test credentials
access_token
andpublic_key
of the seller's test account in the Test credentials field.
Click on Save and continue.
In the WooCommerce panel, go to step "4. Test your store before selling" and select the option Sales mode (production).
- Click on Save changes.
- Open a new incognito window and log in to Mercado Pago using the buyer test account created in step 3.
- 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 the "Documento" field, select the option OTRO and enter 9 digits. Also, use the test cards available in the documentation corresponding.
After completing a test purchase using Checkout Pro, the purchase approval will be visible in the WooCommerce 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
- Access Your integrations in the Mercado Pago admin and select the application you want to test.
- Click on Production credentials in the left menu. Copy the
access_token
andpublic_key
.
- Go to the WooCommerce panel settings (WooCommerce > Mercado Pago > Integrate store with Mercado Pago).
- Enter the production credentials
access_token
andpublic_key
in the Production credentials field. - In your application, click on Test credentials in the left menu. Copy the
access_token
andpublic_key
.
- Also, enter the test credentials
access_token
andpublic_key
in the Test credentials field.
- Click on Save and continue.
- In the WooCommerce panel, go to step "4. Test your store before selling" and select the Test mode option.
- Click on Save changes.
- 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.