Make test purchase
The testing stage allows you to verify that the integration is correct and that payments are being processed without errors before making it available to buyers.
Cards
To test this payment method, use the test credentials from your real account. To obtain them, go to Your integrations and navigate to Application details > Credentials, or in your Mercado Pago account by accessing Your business > Settings > Management and Administration > Credentials.
- Start the integration of your project with the test credentials.
- Enter any email as the paying user (remember it must be different from the email you use on Mercado Pago).
- Enter the details of one of our test cards.
- Test different payment outcomes using the table available on the test cards and filling in the desired status in the cardholder's name (field
card_holder_name). - Confirm the purchase. A payment with the indicated status for testing will be generated.
Offline payment methods
Just like in Cards testing, use the test credentials from your real account to test this payment method. To obtain them, go to Your integrations and navigate to Application details > Credentials, or in your Mercado Pago account by accessing Your business > Settings > Management and Administration > Credentials.
- Start the integration of your project with the test credentials.
- Enter any email as the paying user (remember it must be different from the email you use on Mercado Pago).
- Enter the required data into the form.
- Confirm the purchase. A payment with a pending status will be generated.
Payment with redirect to Mercado Pago
To test this payment method, you will need two test accounts created from Your integrations: one seller account and one buyer account. Use the production credentials of the seller account to initialize the brick.
- Create the two test accounts in Your integrations.
- In the seller account, create an application and use its production credentials to create a preference and initialize the brick.
- Go to Mercado Pago (via Payment Brick or Wallet Brick).
- Log in to Mercado Pago with the buyer test account.
- Confirm the purchase.
Once these steps are finished, the integration will be complete and you will be able to use your production credentials to use the Checkout Bricks.
