1.0.4 • Published 1 year ago

rn-mercadopago-services v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

rn-mercadopago-services

NPM Version Downloads License

Serving all MercadoPago users who use react native in their application, the gateway in turn does not have support for react native and the MercadoPago community is very small, so we created a lib using the native services of MercadoPago to facilitate the use.


📲 Installation

npm install rn-mercadopago-services

yarn add rn-mercadopago-services

🌟 Setup

// Add in build.gradle

repositories {
  ...
  maven { url 'https://artifacts.mercadolibre.com/repository/android-releases/' }
}

🌟 Usage

// Example get Card Token for payments checkout transparent ...

import { CardToken } from 'rn-mercadopago-services';

const response = await CardToken(
  publicKey,
  cardNumber,
  expirationMonth,
  expirationYear,
  securityCode,
  cardholderName,
  identificationType,
  identificationNumber
);

❤️ Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.


📚 License

MIT license. Copyright (c) 2022 - Jose Eduardo For more information, see the LICENSE file.