Make test purchase
The testing stage allows you to analyze whether the integration was done correctly and whether payments are being processed without errors, preventing errors from appearing when making the checkout available to end buyers.
To make a t purchase, you must use the test credentials of your production user. To obtain them, go to Application details > Credentials within the Developer dashboard or in your Mercado Pago account by accessing Your Business > Settings > Management and Administration > Credentials.
With the credentials in your possession and the integration completed, follow the steps below to perform the test purchase.
Cards
- 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
- 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 Mercado Pago
- Create a preference with your test credentials and initiate the integration of your project with the used credentials.
- Go to Mercado Pago (via Payment Brick or Wallet Brick).
- Log in to Mercado Pago with an account different from the one used to create the preference.
- Confirm the purchase.
Done! 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.