Socket
Socket
Sign inDemoInstall

react-sdk-mercadopago

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-sdk-mercadopago

A hook to facilitate the use of the mercadopago sdk v1


Version published
Weekly downloads
312
increased by21.4%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

SDK Mercadopago V1 for React

A hook to facilitate the use of the mercadopago sdk v1

About

I created this package because I couldn't find a way to integrate the paid market sdk with React. However, as there is no detailed documentation for the sdk, the methods are typed as 'any'. Over time, I update the types.

Install

npm install --save react-sdk-mercadopago

Usage

import React from 'react';
import { useMercadopago } from 'react-sdk-mercadopago';

export default function Checkout() {
    const mercadopago = useMercadopago('YOUR_PUBLIC_KEY');

    return (
        // jsx
    )
}

Keywords

FAQs

Last updated on 01 May 2021

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc