react-native-openupi
TypeScript icon, indicating that this package has built-in type declarations

0.1.6 • Public • Published

react-native-openupi

Deep linking UPI for react-native in Android

Installation

npm install react-native-openupi

or using yarn

yarn add react-native-openupi

Usage

import Openupi from 'react-native-openupi';

// ...

//replace below param as per your requirement

Openupi.StartPayment(
  'upi://pay?pa=[pa]&pn=[pn]&&tr=[orderID]&am=[amount]',
  orderID
).then((data) => {
  //resolve
  console.log(data);

  console.log(data.status , data.orderID + ': ' + data.message);

  return;
});

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-openupi

Weekly Downloads

0

Version

0.1.6

License

MIT

Unpacked Size

361 kB

Total Files

96

Last publish

Collaborators

  • consisty_technology