Test payments
Purchase tests are essential to ensure that payments are being processed correctly before authorizing real transactions. To verify that your store is set up correctly, we recommend testing payments before going live.
See below how to test the integration:
- Access Your integrations in the Mercado Pago admin and select the application you want to test.
- Click on Test accounts in the menu on the left.
- In the "Test accounts" section, click on Create test account and create two different accounts: one for the seller and one for the buyer. You cannot use the same test account for both seller and buyer. Refer to the Test accounts documentation for step-by-step instructions on creating test accounts.
- Open a new incognito window and log in to Mercado Pago using the seller test account created in the previous step.
- In the same incognito window logged in as the seller, access the Developer panel and create a new application, following the detailed instructions in the Developer panel documentation.
-
Access the Shopify panel settings (Settings > Payments) and select Manage account in one of the Mercado Pago checkouts, either Mercado Pago Cards or Mercado Pago Checkout Pro. You will be redirected to the Mercado Pago environment to start the process of linking your store with your test account.
-
Once in the Mercado Pago environment, click Start linking to begin the process.
- If you are already logged in to your test account, skip this step. Otherwise, enter the email and password for the seller test account created in step 3 and click Continue.
- From the displayed options, select the test account to link with the store.
- Click Link account and accept the requested permissions.
- The process will be carried out automatically and may take a few seconds.
-
After linking your store with your Mercado Pago account, click Activate app.
-
Click Go to settings to return to the Shopify panel.
- In the store's admin panel, go to Settings > Payments and click Activate.
- Finally, on the checkout management in question, enable the test mode option.
Now, follow the step-by-step instructions according to the selected checkout type to process payments:
Mercado Pago Cards
- Access your store and make a purchase providing test information, such as the phone number and email of the buyer test account. In "Document", select the option OTHER and enter 9 digits. Also, use the test cards available in the corresponding documentation.
Mercado Pago Checkout Pro
- 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 the buyer, access your store and make a purchase providing test information, such as the phone number and email of the buyer test account. In "Document", select the option OTHER and enter 9 digits. Also, use the test cards available in the corresponding documentation.
After completing a test purchase using one of the checkouts, the purchase approval will be visible in the Shopify Admin Panel, except for purchases made through offline methods which will remain in pending status.