Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upi_payment_qrcode_generator not responding the payment is done or not. #2

Open
Sudesh101999 opened this issue Sep 14, 2022 · 4 comments
Labels
feature This doesn't seem right stale

Comments

@Sudesh101999
Copy link

i have implemented upi_payment_qrcode_generator: ^ . With the help of QR code the payment is done by cranner side. but not responding by QR code generater side. I'm not able to get the recode of response that payment is successfully done OR Failed.

import 'package:flutter/material.dart';
import 'package:upi_payment_qrcode_generator/upi_payment_qrcode_generator.dart';

class PaymentForWindowMacos extends StatefulWidget {
  const PaymentForWindowMacos({Key? key}) : super(key: key);

  @override
  State<PaymentForWindowMacos> createState() => _PaymentForWindowMacosState();
}

class _PaymentForWindowMacosState extends State<PaymentForWindowMacos> {
  final upiDetails = UPIDetails(
    upiID: "......@okicici",
    payeeName: "Payee Name Here",
    amount: 1,
    transactionNote: "Hello World",
  );
  final upiDetailsWithoutAmount = UPIDetails(
      upiID: "....@okicici",
      payeeName: "Payee Name Here",
      transactionNote: "Hello World");

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('UPI Payment QRCode Generator'),
        ),
        body: Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: [
              const Text("UPI Payment QRCode without Amount",
                  style: TextStyle(fontWeight: FontWeight.bold)),
              UPIPaymentQRCode(
                upiDetails: upiDetailsWithoutAmount,
                size: 200,
                loader: const Center(
                  child: CircularProgressIndicator(),
                ),
              ),
              Text(
                "Scan QR to Pay",
                style: TextStyle(color: Colors.grey[600], letterSpacing: 1.2),
              ),
              const SizedBox(
                height: 20,
              ),
              const Text(
                "UPI Payment QRCode with Amount",
                style: TextStyle(fontWeight: FontWeight.bold),
              ),
              UPIPaymentQRCode(
                upiDetails: upiDetails,
                size: 200,
                loader: const Center(
                  child: CircularProgressIndicator(),
                ),
              ),
              Text(
                "Scan QR to Pay",
                style: TextStyle(color: Colors.grey[600], letterSpacing: 1.2),
              )
            ],
          ),
        ),
      ),
    );
  }
}

Thank you

@AgnelSelvan
Copy link
Owner

Hy @Sudesh101999, this package is currently for QRCode generation of barcode for the payment.
We will be considering this functionality in upcoming future updates.

@github-actions
Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Jun 18, 2023
@AgnelSelvan AgnelSelvan added the enhancement New feature or request label Jun 23, 2023
@github-actions github-actions bot removed the stale label Jun 24, 2023
@AgnelSelvan AgnelSelvan added feature This doesn't seem right and removed enhancement New feature or request labels Jun 24, 2023
@github-actions
Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Jul 25, 2023
@github-actions
Copy link

github-actions bot commented Aug 9, 2023

This issue was closed because it has been inactive for 14 days since being marked as stale.

@github-actions github-actions bot closed this as completed Aug 9, 2023
@AgnelSelvan AgnelSelvan reopened this Sep 20, 2023
@AgnelSelvan AgnelSelvan mentioned this issue Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This doesn't seem right stale
Projects
None yet
Development

No branches or pull requests

2 participants