Skip to content

mercadopago/payment-brick-fast-payments-sample

Repository files navigation

Fast Payments processing with Checkout Bricks

Português / Español

Note: Fast Payments is currently available only for selected merchants. We are working to make it available to everyone soon.

💻 Technologies

  • Node.js
  • NPM (dependency manager)
  • Express

💡 Requirements

  • Node.js v20.11.1 or higher (you can download it here).
  • Read our instructions on how to create an application at the Mercado Pago Developer Panel in order to acquire your public key and access token. They will grant you access to Mercado Pago's public APIs.

⚙️ Installation

  1. Clone the project.
git clone https://github.com/mercadopago/payment-brick-fast-payments-sample.git
  1. Go to the project's folder.
cd payment-brick-fast-payments-sample
  1. Then install the dependencies.
npm install

🌟 How to run it

Fast Payments are only available on mobile devices. Therefore, to test this integration, you must either use an Android/iOS emulator or access it directly from your mobile device. To make it easier to access this project's content on these devices, we'll use localtunnel.

  1. Run the following command to start the application:
MERCADO_PAGO_SAMPLE_PUBLIC_KEY=YOUR_PUBLIC_KEY MERCADO_PAGO_SAMPLE_ACCESS_TOKEN=YOUR_ACCESS_TOKEN npm start

Remember to replace the values of YOUR_PUBLIC_KEY and YOUR_ACCESS_TOKEN with the corresponding credentials from your account.

  1. Run the following command in a new terminal window to create a tunnel:
npm run localtunnel
  1. Access the public URL generated by the previous command through your mobile device or emulator.

📹 Example

payment.brick.for.fast.payments2.mp4

🤝 Contributing

You can contribute to this project by reporting problems and bugs. Before opening an issue, make sure to read our code of conduct.

🔖 License

MIT License. Copyright (c) 2025 - Mercado Pago
For more information, see the LICENSE file.

About

Mercado Pago Payment Brick for Fast Payments sample project

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •