Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mercadopago

Package Overview
Dependencies
Maintainers
4
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mercadopago

Mercadopago SDK for Node.js

  • 1.0.3
  • beta
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
15K
decreased by-29.59%
Maintainers
4
Weekly downloads
 
Created
Source

License Build Status Coverage Status NPM Version Downloads

MercadoPago Node.js SDK

This library provides developers with a simple set of bindings to the MercadoPago API. You can read the full documentation here.

Node.js Versions Support

The SDK Supports Node.js from version v0 to the latest (v7).

Backward Compatiblity

If you implemented the previous SDK, you don't need to do anything. Just update the NPM Package and you will received all of the previous methods.

Installation

$ npm install mercadopago@beta

or saving as a dependency on your package.json

$ npm install --save mercadopago@beta

Credentials

Before you use the SDK, you need to get your credentials from the following address:

We highly recomend using only the access_token. If you provide the client_id and client_secret it's going to generate the access_token anyway (only on Production, for Sandbox use access_token).

Quick Start

First you need to require the library

var mercadopago = require('mercadopago');

Then you need to configure it with your credentials:

mercadopago.configure({
    access_token: 'ACCESS_TOKEN'
});

You don't need to instantiate mercadopago. It's a global singleton accross your application. Just require the SDK in any other file and it's already configured with your credentials.

Operations & Resources

Examples

In the examples folder you will find a web application. In this you can try some examples. For more information read the documentation here.

Testing

This project is tested using:

  • Mocha
  • Chai
  • Sinon

You can see the current coverage here.

License

Copyright © 2017.

Keywords

FAQs

Package last updated on 31 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc