Skip to content

SomnathKadam/react-native-openupi

Repository files navigation

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

About

Deep linking for UPI app in Android

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published