パッケージ、リポジトリ、アプリカテゴリを検索

GitHub リポジトリGJJ2019/easy_upi_payment

easy_upi_payment

GJJ2019/easy_upi_payment open-source repository details.

easy_upi_payment のプロジェクト画像
スター
7
フォーク
3
最終プッシュ(UTC)
2023/10/04
プロジェクト状態
公開中

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

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.
GJJ2019 GitHub avatar
GitHub 作者

GJJ2019 ↗

Founder & Owner of @GJ-Software-Labs

GJ Software LabsWardha公式サイト ↗
言語DartKotlin

このリポジトリが公開するパッケージ

使用している依存関係

依存関係一覧 6 件

  • flutter{"sdk":"flutter"}
  • plugin_platform_interface^2.1.6
  • flutter_test開発用{"sdk":"flutter"}
  • lint開発用^2.1.2
  • mockito開発用^5.4.2
  • build_runner開発用^2.4.6

プロジェクトに合うリポジトリを選ぶには?

用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。

  1. 名前・作者・説明で検索し、技術トピックで絞り込みます。
  2. スター、フォーク、最近のプッシュを比較します。スターは関心の目安であり、品質の保証ではありません。
  3. 利用前に GitHub で README、ライセンス、Issues を確認します。

情報源と管理

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗