Search packages, repositories and app categories

Package detailsv0.1.6

easy_upi_payment

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

Android
30-day downloads
102
Likes
29
Pub points
150

Install package

flutter pub add easy_upi_payment

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Easy UPI Payment is a Flutter plugin designed to simplify UPI (Unified Payments Interface) transactions on Android devices in India. It enables developers to integrate UPI payments into their apps with minimal setup, leveraging the native UPI intent system. The plugin abstracts complex implementation details, allowing users to initiate payments through supported UPI apps like Google Pay, PhonePe, or Paytm. Currently limited to Android, it provides a streamlined way to handle payment requests and responses securely. Ideal for e-commerce, utility, and service-based apps targeting Indian users.

Use cases

  • In-app purchases
  • Bill payments
  • Donation collection
  • Service fee collection
  • Digital wallet top-ups

Key features

  • Simple integration with Android UPI intents
  • Support for major UPI apps
  • Secure payment handling
  • Minimal code required
  • Real-time transaction status

Suitable for

  • Indian e-commerce apps
  • Mobile banking utilities
  • Subscription services
  • Non-profit donation platforms
  • Utility bill payment apps

Considerations

  • Android-only support
  • Limited to India
  • Requires UPI app installation on user device
  • No iOS support
  • Dependent on user's UPI app availability

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

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.

Categories

Dependencies

Dependency list 1 items

  • plugin_platform_interface^2.1.6

Source repository

Projects using this package