ayyshim / esewa_pnp Goto Github PK
View Code? Open in Web Editor NEWUnofficial esewa plugin for flutter application.
License: MIT License
Unofficial esewa plugin for flutter application.
License: MIT License
In Flutter 3.3.2, I am getting such error:
/C:/flutter/.pub-cache/hosted/pub.dartlang.org/esewa_pnp-2.0.1/lib/esewa_pnp.dart:215:14: Error: The method 'RaisedButton' isn't defined for the class 'ESewaPaymentButton'.
FAILURE: Build failed with an exception.
Where:
Script 'C:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1159
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
Process 'command 'C:\flutter\bin\flutter.bat'' finished with non-zero exit value 1
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 3m 19s
I am getting only verifying merchant screen.
Describe the bug
Direct local .aar file dependencies are not supported when building an AAR. The resulting AAR would be broken because the classes and Android resources from any local .aar file dependencies would not be packaged in the resulting AAR. Previous versions of the Android Gradle Plugin produce broken AARs in this case too (despite not throwing this error). The following direct local .aar file dependencies of the :esewa_pnp project caused this error: /Users/username/.pub-cache/hosted/pub.dartlang.org/esewa_pnp-1.0.4/android/libs/eSewaSdk.aar
To Reproduce
Steps to reproduce the behavior:
-Compilation of flutter debug
Expected behavior
Screenshots
Environment (please complete the following information):
Additional context
Add any other context about the problem here.
After installing the package i get this error while trying to build the app.
Execution failed for task ':esewa_pnp:bundleDebugAar'.
Direct local .aar file dependencies are not supported when building an AAR. The resulting AAR would be broken because the classes and Android resources from any local .aar file dependencies would not be packaged in the resulting AAR. Previous versions of the Android Gradle Plugin produce broken AARs in this case too (despite not throwing this error). The following direct local .aar file dependencies of the :esewa_pnp project caused this error: C:\src\flutter.pub-cache\hosted\pub.dartlang.org\esewa_pnp-1.0.4\android\libs\eSewaSdk.aar
Am i missing something while installing?
When I open the project in Xcode and try to build the project I get the Module compiled with Swift 5.2.4 cannot be imported by the Swift 5.3.2 compiler error. First I was using code 12.3 now I am using 12.1 but still, I get the same error.
Describe the bug
Direct local .aar file dependencies are not supported when building an AAR. The resulting AAR would be broken because the classes and Android resources from any local .aar file dependencies would not be packaged in the resulting AAR. Previous versions of the Android Gradle Plugin produce broken AARs in this case too (despite not throwing this error). The following direct local .aar file dependencies of the :esewa_pnp project caused this error: C:\flutter.pub-cache\hosted\pub.dartlang.org\esewa_pnp-1.0.4\android\libs\eSewaSdk.aar
To Reproduce
Steps to reproduce the behavior:
Environment (please complete the following information):
Execution failed for task ':esewa_pnp:bundleDebugAar'. > Direct local .aar file dependencies are not supported when building an AAR. The resulting AAR would be broken because the classes and Android resources from any local .aar file dependencies would not be packaged in the resulting AAR. Previous versions of the Android Gradle Plugin produce broken AARs in this case too (despite not throwing this error). The following direct local .aar file dependencies of the :esewa_pnp project caused this error: C:\Users\User\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\esewa_pnp-1.0.7\android\libs\eSewaSdk.aar
Direct local .aar file dependencies are not supported when building an AAR. The resulting AAR would be broken because the classes and Android resources from any local .aar file dependencies would not be packaged in the resulting AAR. Previous versions of the Android Gradle Plugin produce broken AARs in this case too (despite not throwing this error). The following direct local .aar file dependencies of the :esewa_pnp project caused this error:
Can you update this one ?
Unable to load asset: assets/esewa/logo.png
Hey again,
I dont know why but every time i try to log in to esewa through my app, it says "Incorrect username or password" although the credentials are correct.
i can log in directly to esewa app with those credential but not through my app.
Have you ever faced this error and what causes this.
i have implemented the plugin as directed by you in example tab and your video.
please help me
The app is not building after upgrading Gradle.
Execution failed for task ':esewa_pnp:bundleDebugAar'.
Direct local .aar file dependencies are not supported when building an AAR. The resulting AAR would be broken because the classes and Android resources from any local .aar file dependencies would not be packaged in the resulting AAR. Previous versions of the Android Gradle Plugin produce broken AARs in this case too (despite not throwing this error). The following direct local .aar file dependencies of the :esewa_pnp project caused this error: ~/.pub-cache/hosted/pub.dartlang.org/esewa_pnp-1.0.0/android/libs/eSewaSdk.aar
Xcode's output:
โณ
:1:1: warning: umbrella header for module 'Flutter' does
not include header 'FlutterNavigationController.h'
#import "Headers/Flutter.h"
^
SwiftEsewaPnpPlugin.swift:3:8: error: could not find module 'EsewaSDK' for
target 'x86_64-apple-ios-simulator'; found: arm64, armv7-apple-ios,
arm64-apple-ios, arm, armv7
import EsewaSDK
^
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
Could not build the application for the simulator.
Error launching application on iPhone 11.
Is it possible to increase size of text "pay now" and text style?
Describe the bug
Build Failed on Android Direct local .aar file dependencies are not supported when building an AAR. The resulting AAR would be broken because the classes and Android resources from any local .aar file dependencies would not be packaged in the resulting AAR. Previous versions of the Android Gradle Plugin produce broken AARs in this case too (despite not throwing this error).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Build should succeed on android
Environment (please complete the following information):
Migrate to null saftey
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Build fails(both debug and release) with exception:
**Execution failed for task ':esewa_pnp:bundleReleaseAar'.
Direct local .aar file dependencies are not supported when building an AAR. The resulting AAR would be broken because the classes and Android resources from any local .aar file dependencies would not be packaged in the resulting AAR. Previous versions of the Android Gradle Plugin produce broken AARs in this case too (despite not throwing this error). The following direct local .aar file dependencies of the :esewa_pnp project caused this error: /Users/sagarshree/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/esewa_pnp-1.1.0/android/libs/eSewaSdk.aar**
I am using Esewa sdk from the official documnet , for android it's woking fine but for ios not working showing above error message while running , i am using xcode latest version.
please help me to solve this issue.
I used test environment config and tried logging the user but it it showed invalid username or password although the credentials were right. I hope it's fixed soon.
Double value is not supported by amount parameter and converting all payment amount to int is not really an option because it leads to inconsistent payment data.
I compiled my app using dev and got this error. It's from this file
Missing argument for parameter 'paymentProperties' in call
sdk?.initiatePayment(merchantId: clientID, merchantSecret: secretKey, productName: productName, productAmount: amount, productId: productID, callbackUrl: callBackURL )
I had tried to test eSewa SDK in the simulator and got the error while building the project
SwiftEsewaPnpPlugin.swift:3:8: error: module compiled with Swift 5.3.1 cannot be imported by the Swift 5.4 compiler: /Volumes/Storage/Flutter/insurance_flutter_app/ios/.symlinks/plugins/esewa_pnp/ios/EsewaSDK.framework/Modules/EsewaSDK.swiftmodule/x86_64-apple-ios-simulator.swiftmodule
import EsewaSDK
^
Great work, if I found the android version usefull. Ill send a PR to add iOS support soon. Kudos brother.
Hey, thank you for this great package.
Any plan on adding web support for it?
Thanks ๐
I implemented the latest esewa_pnp library and it is now showing this error. Is there any solution to this?
Hi !
Please make support for Desktop Environment :)
Anyways Thank you for the great plugin
Regards
Attribute application@allowBackup value=(false) from AndroidManifest.xml:
is also present at [eSewaSdk.aar] AndroidManifest.xml:14:18-44 value=(true).
Suggestion: add 'tools:replace="android:allowBackup"' to element at AndroidManifest.xml:26:5-115:19 to override.
Describe the bug
On compiling for ios, xcode is firing the above bug
To Reproduce
xcode version 12 with swift 5.5
Environment (please complete the following information):
Describe the bug
I tried logining in Live Environment using the Client Id and Secret Key provided by eSewa. But I couldnot login and prompted with the following dialog. Afterwards I received an OTP from eSewa
To Reproduce
Steps to reproduce the behavior:
Success Response::: {"identifier":"SEFUQlZAXldUJiJXTgJKP1QbADUHOyAxKgQTNjwANFA4XwY6V0AHIjEqOyQ=","environment":"CRoTEg==","merchantName":"JwYPFhRTOAAOBFM1ARVdSykNAQ==","userName":"XEtRRFNGU1RKUg==","balance":"VEddQ09AXw==","productName":"JwYPFhRTOAAOBFM1ARVdSykNAQ==","totalAmount":"U0ZLRw==","message":{"technicalErrorMessage":"Service unavailable","errorMessage":"Sorry your request failed. Contact your service provider."},"charge":null,"cashBack":null,"Cookie":"JSESSIONID=25348C543CFC99282F16FFDF1D02D78B; Path=\/; HttpOnly"}
Expected behavior
Should have login.
Screenshots
If applicable, add screenshots to help explain your problem.
After printing whole response all data is kinda like encrypted or replace. All transation is complete actual cost is deducted from your esewa account but response like encrypted data. It actually happening in live not in test need help.
Success Response::: {"productId":"DUJXRAU=","productName":"Nh4EBRVTIgsXCgUEAwgcBUUpEwdFOxUX","totalAmount":"VF1V","environment":"CRoTEg==","code":"VUM=","merchantName":"Nh4EBRVTIgsXCgUEAwgcBUUpEwdFOxUX","message":{"technicalSuccessMessage":"Your transaction has been completed.","successMessage":"Your transaction has been completed."},"transactionDetails":{"date":"NhIRVysGB0VIXVNUQFtBW19NV1MiOjVYW1BDUUZFRVFBWw==","referenceId":"VUckLioqUg==","status":"JjwoJy02PyA="}}
I tried to sign in with mobile/email and MPIN but it says 'Invalid username or password' even though it's working on the main app.
I used the provided clientId and secretkey mentioned in the Readme.
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.