gjj2019 / easy_upi_payment Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
When I try payment app crash what can be the reason for it and even their demo also crash
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
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
Getting this error message from paytm and GooglePay
Any workaround?
Thanks!
approvalRefNo: data['approvalRefNo'] as String, while payment using phone pe , google pay ,but paytm woking file
Its default Test Mode how to make it Production Mode?
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
It says for security reason you are not alllowed to pay money
I try with GPay and PhonePe, both not working. I also try to pay to your UPI id but not working.
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??
means using which flag i know that it's successfull.
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.
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.
UPI payment is not working please check and update now
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.
Compilation failed; see the compiler error output for details.
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
Approval Ref Number is coming null
cannot access PaymentStatusListener
flutterEngine.getPlugins().add(new com.pcu.easy_upi_payment.EasyUpiPaymentPlugin());
^
class file for dev.shreyaspatil.easyupipayment.listener.PaymentStatusListener not found
Always giving err:
Due to security reasons you cant do payment
this package also used and facing same issue try to another upi id is not
working showing me error and i am working on only in flutter not in android
so try to guide me with flutter
A declarative, efficient, and flexible JavaScript library for building user interfaces.
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ššš
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ā¤ļø Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.