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 application created in step 5 and click on Production credentials in the menu on the left. Copy the
public_key
and theaccess_token
.Go to the settings of the Shopify panel (Settings > Payments) and click to Manage Mercado Pago Checkout Pro.
Enter the
public_key
andaccess_token
of the seller test account.Click on Save credentials.
Finally, on the checkout management in question, enable the test mode option.
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.