upi_payment_qrcode_generator 1.0.2 copy "upi_payment_qrcode_generator: ^1.0.2" to clipboard
upi_payment_qrcode_generator: ^1.0.2 copied to clipboard

outdated

UPI Payment QRCode Generator.

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.

Installation #

Install the latest version from pub.

Getting Started #

Step 1

Import the Package:

import 'package:upi_payment_qrcode_generator/upi_payment_qrcode_generator.dart';

Step 2

Create UPIDetails Object.

final upiDetails = UPIDetails(upiID: "UPI ID", payeeName: "Payee Name", amount: 1);

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.
  • 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

NOTE: UPI Transaction will operate only in INR.

Step 3

Include this widget in you Widget Tree

UPIPaymentQRCode(upiDetails: upiDetails, size: 200,),

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Don't Forget to give Star and Like