This repository contains multiple applications that demonstrate integrations with different Mercado Pago APIs. Each application serves as a focused learning exercise and testing environment, designed to explore specific API features and integration patterns. While these examples provide practical implementation guidance and can serve as reference material for others, they are intentionally streamlined to concentrate on core API functionality and integration concepts rather than comprehensive production-level considerations.
All the apps contained in this repository are Next.js applications that requires Node.js to run. Follow these steps to get the projects running locally:
- Node.js 18.0 or later
- npm, yarn, or pnpm package manager
- Git (for cloning the repository)
-
Clone the repository
git clone <repository-url> cd <project-directory>
-
Choose the integration folder
cd mercadopago-pro #Or any other integration.
-
Install dependencies
# Using npm npm install # Using yarn yarn install # Using pnpm pnpm install
-
Set up environment variables
# Copy the example environment file cp .env.example .env.local # Edit .env.local with your actual credentials # Add your payment provider credentials, webhook URLs, etc.
-
Start the development server
# Using npm npm run dev # Using yarn yarn dev # Using pnpm pnpm dev
-
Open your browser Navigate to http://localhost:3000 to see the application.
-
Expose your local server (for webhook testing, if needed)
