Skip to content

mercadopago/payment-bricks-review-sample-node

Repository files navigation

Payment Brick with Review Step

💻 Technologies

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

💡 Requirements

  • Node.js 10 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-bricks-review-sample-node
  1. Go to the project's folder.
cd payment-bricks-review-sample-node
  1. Then install the dependencies.
npm install

🌟 How to run it

  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
  1. Remember to replace the values of YOUR_PUBLIC_KEY and YOUR_ACCESS_TOKEN with the corresponding credentials from your account.

  2. Navigate to http://localhost:8080 in your browser.

🧪 Testing

On our testing instructions you'll find credit cards that can be used along with this sample and a guide on how to create test users.

🤝 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) 2023 - Mercado Pago
For more information, see the LICENSE file.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published