Giter VIP home page Giter VIP logo

easy_upi_payment's Introduction

NAMASTE šŸ™

  • šŸ”­ Iā€™m currently working on Some Apps
  • šŸŒ± Iā€™m currently learning Go.
  • šŸ’¬ Ask me about Flutter, Firebase, Typescript.
  • šŸ“« How to reach me: Linkedin Twitter Facebook
  • šŸ˜„ Pronouns: He/His
  • āš” Fun fact: I'm great fan of BATMAN

Languages used in my public repos

Top language used in my repos

easy_upi_payment's People

Contributors

gjj2019 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

easy_upi_payment's Issues

App Crash

When I try payment app crash what can be the reason for it and even their demo also crash

i got issue Unhandled Exception: type 'Null' is not a subtype of type 'String' in type cast

Debug Console Warn

W/EasyUpiPayment( 4118): You'll need to call EasyUpiPayment#detachListener() to remove listener.
W/ActivityThread( 4118): handleWindowVisibility: no activity for token android.os.BinderProxy@dfd1f15
I/TouchMotionHandler( 4118): handler onAttached
E/flutter ( 4118): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: type 'Null' is not a subtype of type 'String' in type cast
E/flutter ( 4118): #0 new TransactionDetailModel.fromMap
transaction_detail_model.dart:16
E/flutter ( 4118): #1 MethodChannelEasyUpiPayment.startPayment
easy_upi_payment_method_channel.dart:25
E/flutter ( 4118):
E/flutter ( 4118): #2 FollowersState.handlePayment
followers.dart:229
E/flutter ( 4118):
E/flutter ( 4118): #3 FollowersState.build.
followers.dart:196

> Flutter 3.10.5 ā€¢ channel stable ā€¢ https://github.com/flutter/flutter.git
> Framework ā€¢ revision 796c8ef792 (4 weeks ago) ā€¢ 2023-06-13 15:51:02 -0700
> Engine ā€¢ revision 45f6e00911
> Tools ā€¢ Dart 3.0.5 ā€¢ DevTools 2.23.1

even mine code is

  handlePayment() async {
    logger.i('Called Payment');
    try {
      final res = await EasyUpiPaymentPlatform.instance.startPayment(
        const EasyUpiPaymentModel(
          payeeVpa: '9@bk',
          payeeName: 'di',
          amount: 1.0,
          description: 'Tested',

        ),
      );

      logger.w(res);
    } on EasyUpiPaymentException catch(e) {
      logger.w("Error Occured: ${e.message}");
    }
  }

i am too serious on it Thanks in Advance

Update to latest SDK Version 3.0.1

Latest easy_upi_payment >=0.1.1 has SDK version compatibility on SDK version >=2.17.5 <3.0.0. Please update it so as to support latest SDK

is after payment

approvalRefNo: data['approvalRefNo'] as String, while payment using phone pe , google pay ,but paytm woking file

This plugin does not handling AppNotFoundException

When no upi app is installed, the app got crashed.

Error report:

E/AndroidRuntime(24000): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.sirajulhuda.app/dev.shreyaspatil.easyupipayment.ui.PaymentUiActivity}: dev.shreyaspatil.easyupipayment.exception.AppNotFoundException: No UPI app exists on this device to perform this transaction.
E/AndroidRuntime(24000): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4035)
E/AndroidRuntime(24000): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4201)
E/AndroidRuntime(24000): 	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
E/AndroidRuntime(24000): 	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
E/AndroidRuntime(24000): 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
E/AndroidRuntime(24000): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2438)
E/AndroidRuntime(24000): 	at android.os.Handler.dispatchMessage(Handler.java:106)
E/AndroidRuntime(24000): 	at android.os.Looper.loopOnce(Looper.java:226)
E/AndroidRuntime(24000): 	at android.os.Looper.loop(Looper.java:313)
E/AndroidRuntime(24000): 	at android.app.ActivityThread.main(ActivityThread.java:8669)
E/AndroidRuntime(24000): 	at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(24000): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
E/AndroidRuntime(24000): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)
E/AndroidRuntime(24000): Caused by: dev.shreyaspatil.easyupipayment.exception.AppNotFoundException: No UPI app exists on this device to perform this transaction.
E/AndroidRuntime(24000): 	at dev.shreyaspatil.easyupipayment.ui.PaymentUiActivity.throwOnAppNotFound$EasyUpiPayment_release(PaymentUiActivity.kt:128)
E/AndroidRuntime(24000): 	at dev.shreyaspatil.easyupipayment.ui.PaymentUiActivity.onCreate(PaymentUiActivity.kt:62)
E/AndroidRuntime(24000): 	at android.app.Activity.performCreate(Activity.java:8290)
E/AndroidRuntime(24000): 	at android.app.Activity.performCreate(Activity.java:8270)
E/AndroidRuntime(24000): 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1329)
E/AndroidRuntime(24000): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4009)
E/AndroidRuntime(24000): 	... 12 more

Payment Declined

I have tried payment using GPay, PhonePe, Paytm
Unable to do payment with all three payment gateway.

processed-ab386a36-d3aa-44d8-a9e8-acbafe1d6549_4Jt922zV

Not working

I try with GPay and PhonePe, both not working. I also try to pay to your UPI id but not working.

how to handle upi://pay... ids

Hey. I'm working on this project where I need to scan a QR Code for Payment. The QR Codes starts with upi://pay....
On using this package, I'm unable to do these kind of transactions. Is there any way to handle this??

Payment fails via google pay.

Payment to UPI id fails with below message.

Your money has not debited
You've exceeded the bank limit for this payment. Retry with a smaller amount.

Though transaction to same UPI ID passes when done via google pay app itself, was trying to pay Rs 1 .
Same story with paytm as well.

Not Getting any call back.

type 'Null' is not a subtype of type 'String' in type cast

Getting this exception always. Even though the transaction is a success, we are getting an exception.

Not Working

UPI payment is not working please check and update now

error: cannot access PaymentStatusListener

D:\project\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java:19: error: cannot access PaymentStatusListener
flutterEngine.getPlugins().add(new com.pcu.easy_upi_payment.EasyUpiPaymentPlugin());
^
class file for dev.shreyaspatil.easyupipayment.listener.PaymentStatusListener not found
1 error

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

BUILD FAILED in 1m 3s
Exception: Gradle task assembleDebug failed with exit code 1

App is not building with Android api level 33

cannot access PaymentStatusListener
flutterEngine.getPlugins().add(new com.pcu.easy_upi_payment.EasyUpiPaymentPlugin());
^
class file for dev.shreyaspatil.easyupipayment.listener.PaymentStatusListener not found

Not working

Always giving err:
Due to security reasons you cant do payment

Payment Failed

i am always getting 24 hour payment limit exceeded. i tried every bank same issue every day.
WIN_20230801_15_23_57_Pro

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.