搜尋套件、儲存庫與 APP 分類

套件詳情v0.1.6

easy_upi_payment

一個全新的 Flutter 插件,可輕鬆進行 UPI 支付,目前僅支援 Android(僅限印度)。

Android
近 30 天下載
102
喜歡數
29
Pub 分數
150

安裝套件

flutter pub add easy_upi_payment

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

Easy UPI Payment 是一個 Flutter 插件,專為簡化印度 Android 裝置上的 UPI(統一支付介面)交易而設計。它讓開發者能以最少的設定將 UPI 支付整合至應用程式中,並利用原生 UPI 意圖系統。該插件抽象了複雜的實作細節,讓使用者能透過支援的 UPI 應用程式(如 Google Pay、PhonePe 或 Paytm)發起付款。目前僅限於 Android,提供一種安全且簡化的支付請求與回應處理方式。非常適合針對印度用戶的電商、公用事業及服務類應用。

適用情境

  • 應用內購買
  • 帳單付款
  • 捐贈收集
  • 服務費收取
  • 數位錢包充值

主要特色

  • 與 Android UPI 意圖的簡單整合
  • 支援主要的 UPI 應用
  • 安全的支付處理
  • 所需最少程式碼
  • 即時交易狀態

適合對象

  • 印度電商應用
  • 行動銀行工具
  • 訂閱服務
  • 非營利捐贈平台
  • 公共事業帳單付款應用程式

使用建議

  • 僅限 Android 支援
  • 僅限印度
  • 需要在使用者裝置上安裝 UPI 應用程式
  • 無 iOS 支援
  • 取決於使用者 UPI 應用的可用性

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

easy_upi_payment

pub.dev version Twitter License: MIT

A new flutter plugin to make upi payment with ease currently only supported by Android (only for India).

Screenshot

Download Easy Upi Payment Apk

System requirements

  • Flutter: >= 2.5.0
  • Dart: ">=2.17.6 <3.0.0"
  • Android: min sdk 19

Getting started

Add the plugin package to the pubspec.yaml file in your project:

dependencies:
  easy_upi_payment: ^0.1.5

Install the new dependency:

flutter pub get

now go to android/app/build.gradle & add following lines

    defaultConfig {
-       minSdkVersion flutter.minSdkVersion
+       minSdkVersion 19
    }

    dependencies {
+       implementation "dev.shreyaspatil.EasyUpiPayment:EasyUpiPayment:3.0.3"
    }

Usage

    final res = await EasyUpiPaymentPlatform.instance.startPayment(
      EasyUpiPaymentModel(
          payeeVpa: 'gaurav.jajoo@upi',
          payeeName: 'Gaurav Jajoo',
          amount: 10.0,
          description: 'Testing payment',
        ),
      );
      // TODO: add your success logic here
      print(res);
    } on EasyUpiPaymentException {
      // TODO: add your exception logic here
    }

for more details see example

Note: its uses third party android package EasyUpiPayment-Android

License

MIT License

Copyright (c) 2022 GJJ2019

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

所屬分類

依賴

依賴清單 1 項

  • plugin_platform_interface^2.1.6

原始碼儲存庫

使用此套件的專案