Questions on how to test your integration?
A recurring question that has arisen in our developer community is how to perform tests when integrating the Mercado Pago payment method.
That is why we will show you all our solutions and provide instructions on how to proceed in each case. Check them out!
Checkout Pro/Preference
Here is what you need to do to test the Checkout Pro through SDK or to generate Preferences via API:
Checkout Pro through SDK:
-
Access the Mercado Pago Developers website
-
Log in to your Mercado Pago account
-
Access "Your Integrations"
-
Choose the application you want to test and access
-
Click on "Test accounts"
-
Create two test accounts: one for sellers and one for buyers
-
Log in to the seller test account and create an application
-
Use the access_token of the production credentials from the seller's test account to make the integration
-
Log in to the buyer test account
-
Make the payment by submitting the test details (Social Security Number, buyer test account email and test cards)
Preference:
-
Access the Mercado Pago Developers website
-
Log in to your Mercado Pago account
-
Access "Your Integrations"
-
Choose the application you want to test and access
-
Click on "Test accounts"
-
Create two test accounts: one for sellers and one for buyers
-
Log in to the seller test account and create an application
-
Use the access_token of the production credentials from the seller's test account to create the preference
-
Log in to the buyer test account
-
Capture the production init_point that was generated when the preference was created
-
Use this init_point to pay while still logged in the buyer account. Make the payment by submitting the test details (Social Security Number, buyer test account email and test cards)
Checkout API/Payments
Here is what you need to do to test the integration with the Checkout API through SDK or to generate a payment via API:
Checkout API through SDK:
-
Access the Mercado Pago Developers website
-
Log in to your Mercado Pago account
-
Access "Your Integrations"
-
Choose the application you want to test and access
-
Click on "Test accounts"
-
Create two test accounts: one for sellers and one for buyers
-
Log in to the seller test account and create an application
-
Use the access_token of the production credentials from the seller's test account to make the integration
-
Log in to the buyer test account
-
Make the payment by submitting the test details (Social Security Number, buyer test account email and test cards)
Payments API:
-
Access the Mercado Pago Developers website
-
Log in to your Mercado Pago account
-
Access "Your Integrations"
-
Choose the application you want to test and access
-
Click on "Test accounts"
-
Create two test accounts: one for sellers and one for buyers
-
Log in to the seller test account and create an application
-
Use the access_token of the production credentials from the seller's test account to create the payment
-
Make the payment by submitting the test details (Social Security Number, buyer test account email and test cards)
Checkout Bricks
Here is what you need to do to test the integration with the Checkout Bricks:
-
Access the Mercado Pago Developers website
-
Log in to your Mercado Pago account
-
Access "Your Integrations"
-
Choose the application you want to test and access
-
Click on "Test accounts"
-
Create a buyer test account
-
Use the access_token of your account's test credentials
-
Log in to the buyer test account
-
Make the payment by submitting the test details (Social Security Number, buyer test account email and test cards)
Subscriptions
Here is what you need to do to test the integration with the Subscriptions:
Subscriptions with associated plan:
-
Access the Mercado Pago Developers website
-
Log in to your Mercado Pago account
-
Access "Your Integrations"
-
Choose the application you want to test and access
-
Click on "Test accounts"
-
Create two test accounts: one for sellers and one for buyers
-
Log in to the seller test account and create an application
-
Use the public_key to generate the card_token
-
Use the access_token of the production credentials from the seller's test account to create the plan and the Subscription
-
Log in to the buyer test account
-
Make the payment by submitting the test details (Social Security Number, buyer test account email and test cards)
Subscriptions without associated plan and "Authorized" status:
-
Access the Mercado Pago Developers website
-
Log in to your Mercado Pago account
-
Access "Your Integrations"
-
Choose the application you want to test and access
-
Click on "Test accounts"
-
Create two test accounts: one for sellers and one for buyers
-
Log in to the seller test account and create an application
-
Use the public_key to generate the card_token
-
Use the access_token of the production credentials from the seller's test account to create the Subscription
-
Log in to the buyer test account
-
Make the payment by submitting the test details (Social Security Number, buyer test account email and test cards)
Subscriptions without associated plan and "Pending" status:
-
Access the Mercado Pago Developers website
-
Log in to your Mercado Pago account
-
Access "Your Integrations"
-
Choose the application you want to test and access
-
Click on "Test accounts"
-
Create two test accounts: one for sellers and one for buyers
-
Log in to the seller test account and create an application
-
Use the access_token of the production credentials from the seller's test account to create the Subscription
-
Log in to the buyer test account
-
Make the payment by submitting the test details (Social Security Number, buyer test account email and test cards)
QR code
Here is what you need to do to test the integration with QR Code:
-
Access the Mercado Pago Developers website
-
Log in to your Mercado Pago account
-
Access "Your Integrations"
-
Choose the application you want to test and access
-
Click on "Test accounts"
-
Create two test accounts: one for sellers and one for buyers
-
Log in to the seller test account and create an application
-
Use the access_token of the production credentials from the seller's test account to make the integration
-
Log in to the buyer test account
-
Make the payment by submitting the test details (Social Security Number, buyer test account email and test cards)
Point
Here is what you need to do to test the integration with Point:
-
Access the Mercado Pago Developers website
-
Log in to your Mercado Pago account
-
Access "Your Integrations"
-
Choose the application you want to test and access
-
Click on "Test accounts"
-
Create two test accounts: one for sellers and one for buyers
-
Log in to the seller test account and create an application
-
Use the access_token of the test credentials from the seller's test account to make the integration
-
Log in to the buyer test account
-
Make the payment by submitting the test details (Social Security Number, buyer test account email and test cards)
Plugins (Shopify, Woocommerce, Prestashop, Magento2/Adobe)
Here is what you need to do to test the integration with our official plugins (Shopify, Woocommerce, PrestaShop and Magento2/Adobe):
Shopify with Checkout Pro:
-
Access the Mercado Pago Developers website
-
Log in to your Mercado Pago account
-
Access "Your Integrations"
-
Choose the application you want to test and access
-
Click on "Test accounts"
-
Create two test accounts: one for sellers and one for buyers
-
Log in to the seller test account and create an application
-
Enter the production credentials of the test accounts Client_ID and Client_Secret in the Shopify settings. To do that, go to "Settings", select "Payments" and then "Manage"
-
Log in to the buyer test account
-
Make the payment by submitting the test details (Social Security Number, Phone number, buyer test account email and test cards)
Shopify with Checkout API:
-
Access the Mercado Pago Developers website
-
Log in to your Mercado Pago account
-
Access "Your Integrations"
-
Choose the application you want to test and access
-
Click on "Test accounts"
-
Create two test accounts: one for sellers and one for buyers
-
Log in to the seller test account and create an application
-
Enter the production public_key from the seller's test account in the Shopify settings. To do that, go to "Apps" and select "Mercado Pago Checkout API"
-
Log in to the buyer test account
-
Make the payment by submitting the test details (Social Security Number, Phone number, buyer test account email and test cards)
Woocommerce:
-
Access the Mercado Pago Developers website
-
Log in to your Mercado Pago account
-
Access "Your Integrations"
-
Choose the application you want to test and access
-
Click on "Test accounts"
-
Create two test accounts: one for sellers and one for buyers
-
Log in to the seller test account and create an application
-
Enter the production and test credentials access_token and publick_key of the seller's test account in the Plugin settings in your Woocommerce panel
-
Log in to the buyer test account
-
Make the payment by submitting the test details (Social Security Number, Phone number, ID, buyer test account email and test cards)
PrestaShop:
-
Access the Mercado Pago Developers website
-
Log in to your Mercado Pago account
-
Access "Your Integrations"
-
Choose the application you want to test and access
-
Click on "Test accounts"
-
Create two test accounts: one for sellers and one for buyers
-
Log in to the seller test account and create an application
-
Log in to the buyer test account
-
Enter the production and test credentials access_token and publick_key of the seller's test account in the Plugin settings in your PrestaShop panel
-
Log in to the buyer test account
-
Make the payment by submitting the test details (Social Security Number, Phone number, ID, buyer test account email and test cards)
Magento2/Adobe:
-
Access the Mercado Pago Developers website
-
Log in to your Mercado Pago account
-
Access "Your Integrations"
-
Choose the application you want to test and access
-
Click on "Test accounts"
-
Create two test accounts: one for sellers and one for buyers
-
Log in to the seller test account and create an application
-
Log in to the buyer test account
-
Enter the production and test credentials access_token and publick_key from the seller's test account in the Plugin settings in your Magento2/Adobe panel
-
Log in to the buyer test account
-
Make the payment by submitting the test details (Social Security Number, Phone number, ID, buyer test account email and test cards)
In addition to this complete content, in case you have any other questions, you can also check our FAQS. Read our article Have you ever read our FAQs? and find out if any of them can help you. Until next time!