flutter_upi_india
1.0.1, released a year ago by princeflutterdev.in
Flutter plugin to discover UPI payment apps and initiate UPI payments on Android and iOS
What it does
Discovers installed UPI-compatible apps on mobile devices and triggers payments using the UPI deep linking specification. On Android, it invokes specific apps via Intents and receives transaction status responses. On iOS, it relies on custom URL schemes to launch available UPI applications without transaction status feedback.
AI-written summary of version 1.0.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- Integrating direct UPI payments in India without an intermediary payment gateway
- Querying and listing installed UPI applications on a user's device
Skip it when
- Requiring guaranteed cross-platform transaction verification (iOS cannot return transaction status directly)
- Building payments outside India or without UPI support
Strengths
- Enables direct UPI app-to-app payments without payment gateway fees
- Provides discovery of installed UPI applications and their display metadata
- Follows official UPI Deep Linking and Proximity Integration specifications
Weaknesses
- iOS scheme limitations prevent identifying which app was launched or receiving transaction status
- README explicitly notes it is currently working primarily in Android with specific banks
- Non-merchant transactions face frequent errors and restrictions (e.g., Z7, U16 errors) from evolving bank apps
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 2
Requires configuring LSApplicationQueriesSchemes in iOS Info.plist for each supported UPI app scheme.
final UpiTransactionResponse response = await UpiPay.initiateTransaction(
amount: '100.00',
app: appMeta.application,
receiverName: 'John Doe',
receiverUpiAddress: 'john@doe',
transactionRef: 'UPITXREF0001',
transactionNote: 'A UPI Transaction',
);
print(response.status);Alternatives
Packages that do the same job and could replace flutter_upi_india.
- in_app_purchase
Flutter plugin for making in-app purchases through the App Store and Google Play.
94Compare - fluwx
Implements WeChat SDKs in Flutter for sharing, payment, and mini programs.
90Compare - pay
Integrate Apple Pay on iOS and Google Pay on Android with ready-made buttons.
92Compare - phonepe_payment_sdk
A Flutter plugin for PhonePe Payment SDK to integrate payments.
56Compare
Works with
Packages commonly used together with flutter_upi_india: ones it builds on, ones built on it, and its own family.