
Security News
PyPI Expands Trusted Publishing to GitLab Self-Managed as Adoption Passes 25 Percent
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads
react-native-allinone-upi
Advanced tools
UPI Payment using installed UPI Payment Apps in Mobile. Currently, supported only on Android.
npm install react-native-allinone-upi
import { initiateTransaction } from 'react-native-allinone-upi';
// ...
initiateTransaction({
upi: 'upi_id', // Required
transactionId: 'transaction_id', // Required
currency: 'INR', // Currency Code (Required)
merchantCategoryCode: 'Merchant Category Code', // Four digit Code. (Required)
payeeName: 'Name of the Payee', // Required
amount: '1', // Amount must be in String and must be greater than 1.00 (Required)
note: 'test', // Additional Notes or description (Optional)
})
.then((res) => {
console.log(res, 'RESPONSE');
})
.catch((e) => {
console.log(e.message, 'ERROR');
});
| Key | Value | Description |
|---|---|---|
| paymentStatus | -1 or 1 or 0 | -1 - DATA MISSING OR INVALID, 1 - SUCCESS, 0 - FAILURE |
| txnId | String | Transaction ID return from the Payment App ( for Backend Process ) only return when the paymentStatus is 1 or 0 |
| txnRef | String | Transaction Reference ID return from the Payment App ( only return when the paymentStatus is 1 or 0 ) |
| missingData | Missing Data | Data which is missing or Invalid ( only return when the paymentStatus is -1 ) |
| responseCode | String | Code return from the Payment App ( only return when the paymentStatus is 1 or 0 ) |
| message | String | Message about Success or Failure or Invalid Data |
Missing DataAMOUNT, UPI_ID, TRANSACTION_ID, CURRENCY, MERCHANT_CATEGORY_CODE, PAYEE_NAME
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
FAQs
UPI Payment using installed UPI Payment Apps in Mobile
The npm package react-native-allinone-upi receives a total of 4 weekly downloads. As such, react-native-allinone-upi popularity was classified as not popular.
We found that react-native-allinone-upi demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.