一個 Flutter 套件,用於產生 UPI 支付 QR 碼,實現無縫交易。它允許使用者建立包含特定收款人資訊和金額的可掃描 QR 碼,透過支援 UPI 的應用程式實現快速且安全的付款。此套件支援多個平台,包括 Android、iOS、Web、macOS、Windows 和 Linux,非常適合跨平台應用。它簡化了需要即時收款功能之應用程式的整合,例如電商、捐款或服務帳單。
適用情境
電子商務結帳
捐贈收集
服務計費
發票付款
數位收據
點對點轉帳
主要特色
跨平台支援
可自定金額與收款人
安全的二維碼產生
輕鬆整合
支援所有主要的 UPI 應用
輕量且快速
適合對象
行動與網頁應用程式
支付網關
商業發票
非營利捐贈系統
零售POS系統
使用建議
需要使用者裝置上的UPI應用程式
僅限印度UPI生態系統
二維碼必須安全顯示
無離線交易追蹤
取決於收件人UPI ID的有效性
原始 README
以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。
UPI Payment QRCode Generator.
This Plugin mainly focus on the generation of UPI Payment QRCode, so that the user can scan the
QRCode for paying the specific amount of money using UPI.
UPI Payment QRCode without amount specified
UPI Payment QRCode with amount specified
Features
Use this plugin in Flutter app too:
Make a UPI Payment to a Payee of specific amount of money by scanning the QRCode generated by this plugin.
You can generate a UPI Payment QRCode without entering specific amount, so that user can pay the amount they want to send.
You can add your branding Logo in QRCode.
Platform Support
Android
iOS
MacOS
Web
Linux
Windows
✔️
✔️
✔️
✔️
✔️
✔️
Installation
In the dependencies: section of your pubspec.yaml, add the following line:
Here, UPIDetails contains requires a set of properties where,
upiID value is required we need to pass the UPI ID or Virtual Payment Address(VPA) e.g 712534798@paytm
payeeName value is required, pass the payeeName or the Business Name
amount value is optional, if amount has value then the user cannot change the amount while transferring else the user can send the amount as per the user required.
transactionID value is optional, Transation ID is generated by the payment Service Provider.
NOTE: Transaction ID has to be unique in each transaction otherwise, transaction results in Payment Failed
transactionNote value is optional, This is specially for the note you want to send while transferring the amount.
currencyCode value is optional, Default value is INR