Requisites
Account Credentials#
Generation#
You'll need to meet the following requisites before integrating the library:
- Owning a MercadoPago Account
- Having a
publicKeyfrom your MercadoPago Account - Having a
preferenceIdobtained from your servers
If you don't meet any of the previous requisites, you can start from here:
- Creating a MercadoPago Account
- Creating a MercadoPago Application
- Creating a MercadoPago preference for Checkout Payment
Testing#
For Testing Purposes we provide a cURL example on how to create a Preference:
You'll need to replace ACCESS_TOKEN with your application account access token.
Remember using payer@email.com payer email to test with the rest of the items in this example. Any other email will not work.
If you have any more doubts you can read the documentation in this portal: