npm

react-native-monri-android-ios
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

react-native-monri-android-ios

React Native bridge for Monri Android/iOS SDK

Installation

npm install react-native-monri-android-ios

Usage

import MonriAndroidIos from "react-native-monri-android-ios";

// ...

const result = await MonriAndroidIos.confirmPayment({
    authenticityToken: '6a13d79bde8da9320e88923cb3472fb638619ccb',
    developmentMode: true,
  },
  {
    clientSecret: "client_secret", // create one on your backend
    card: {
      pan: '4341 7920 0000 0044',
      cvv: '123',
      expiryMonth: 12,
      expiryYear: 2032,
      saveCard: true
    },
    transaction: {
      email: 'test-react-native@monri.com',
      orderInfo: 'React native bridge???',
      phone: '061123213',
      city: 'Sarajevo',
      country: 'BA',
      address: 'Radnicka',
      fullName: 'Test Test',
      zip: '71210',
    },
  });

Contributing

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

License

MIT

Package Sidebar

Install

npm i react-native-monri-android-ios

Weekly Downloads

32

Version

2.0.0

License

MIT

Unpacked Size

158 kB

Total Files

39

Last publish

Collaborators

  • adnanomerovic
  • jasminsuljic