Giter VIP home page Giter VIP logo

sanjidbillah / aamarpay Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 7.0 93 KB

Official Flutter package for aamarPay. aamarPay is an online payment gateway service for Bangladesh. Committed to provide best payment experience online for business. Lowest fee and fast checkout will give you good experience of receiving payment online.

Home Page: https://aamarpay.com/

License: MIT License

Kotlin 0.94% Swift 3.05% Objective-C 0.29% Dart 85.50% Ruby 10.23%
payment-gateway payment-integration payment aamarpay flutter dart

aamarpay's People

Contributors

sanjidbillah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

aamarpay's Issues

SDK ">=2.7.0 <3.0.0" is showing this error

SDK ">=2.7.0 <3.0.0" is showing this error.

Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter (13239): #0 WebStorageHostApi.create (package:webview_flutter_android/src/android_webview.pigeon.dart:2036:7)
E/flutter (13239):
E/flutter (13239):
E/flutter (13239): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter (13239): #0 WebViewHostApi.create (package:webview_flutter_android/src/android_webview.pigeon.dart:289:7)
E/flutter (13239):
E/flutter (13239):
E/flutter (13239): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter (13239): #0 WebSettingsHostApi.create (package:webview_flutter_android/src/android_webview.pigeon.dart:1013:7)
E/flutter (13239):
E/flutter (13239):
E/flutter (13239): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter (13239): #0 WebSettingsHostApi.setDomStorageEnabled (package:webview_flutter_android/src/android_webview.pigeon.dart:1061:7)
E/flutter (13239):
E/flutter (13239):
E/flutter (13239): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter (13239): #0 WebSettingsHostApi.setJavaScriptCanOpenWindowsAutomatically (package:webview_flutter_android/src/android_webview.pigeon.dart:1087:7)
E/flutter (13239):
E/flutter (13239):
E/flutter (13239): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter (13239): #0 WebSettingsHostApi.setSupportMultipleWindows (package:webview_flutter_android/src/android_webview.pigeon.dart:1113:7)
E/flutter (13239):
E/flutter (13239):
E/flutter (13239): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter (13239): #0 WebSettingsHostApi.setLoadWithOverviewMode (package:webview_flutter_android/src/android_webview.pigeon.dart:1239:7)
E/flutter (13239):
E/flutter (13239):
E/flutter (13239): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter (13239): #0 WebSettingsHostApi.setUseWideViewPort (package:webview_flutter_android/src/android_webview.pigeon.dart:1263:7)
E/flutter (13239):
E/flutter (13239):
E/flutter (13239): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter (13239): #0 WebSettingsHostApi.setDisplayZoomControls (package:webview_flutter_android/src/android_webview.pigeon.dart:1288:7)
E/flutter (13239):
E/flutter (13239):
E/flutter (13239): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter (13239): #0 WebSettingsHostApi.setBuiltInZoomControls (package:webview_flutter_android/src/android_webview.pigeon.dart:1313:7)
E/flutter (13239):
E/flutter (13239):
E/flutter (13239): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter (13239): #0 WebViewClientHostApi.create (package:webview_flutter_android/src/android_webview.pigeon.dart:1476:7)
E/flutter (13239):
E/flutter (13239):
E/flutter (13239): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter (13239): #0 WebSettingsHostApi.setUserAgentString (package:webview_flutter_android/src/android_webview.pigeon.dart:1163:7)
E/flutter (13239):
E/flutter (13239): #1 Future.wait. (dart:async/future.dart:521:21)
E/flutter (13239):
E/flutter (13239): #2 WebViewAndroidPlatformController.updateSettings (package:webview_flutter_android/webview_android_widget.dart:275:5)
E/flutter (13239):
E/flutter (13239):
E/flutter (13239): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter (13239): #0 WebSettingsHostApi.setMediaPlaybackRequiresUserGesture (package:webview_flutter_android/src/android_webview.pigeon.dart:1189:7)
E/flutter (13239):
E/flutter (13239):
E/flutter (13239): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter (13239): #0 DownloadListenerHostApi.create (package:webview_flutter_android/src/android_webview.pigeon.dart:1749:7)
E/flutter (13239):
E/flutter (13239): #1 Future.wait. (dart:async/future.dart:521:21)
E/flutter (13239):
E/flutter (13239): #2 WebView.setDownloadListener (package:webview_flutter_android/src/android_webview.dart:379:5)
E/flutter (13239):
E/flutter (13239):
E/flutter (13239): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter (13239): #0 WebChromeClientHostApi.create (package:webview_flutter_android/src/android_webview.pigeon.dart:1861:7)
E/flutter (13239):
E/flutter (13239): #1 Future.wait. (dart:async/future.dart:521:21)
E/flutter (13239):
E/flutter (13239): #2 WebView.setWebChromeClient (package:webview_flutter_android/src/android_webview.dart:399:5)
E/flutter (13239):
E/flutter (13239):
E/flutter (13239): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: PlatformException(channel-error, Unable to establish connection on channel., null, null)
E/flutter (13239): #0 WebViewHostApi.loadUrl (package:webview_flutter_android/src/android_webview.pigeon.dart:401:7)
E/flutter (13239):
E/flutter (13239):
E/flutter (13239): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: PlatformException(error, java.lang.IllegalStateException: Trying to create a platform view of unregistered type: plugins.flutter.io/webview
E/flutter (13239): at io.flutter.plugin.platform.PlatformViewsController$1.createForTextureLayer(PlatformViewsController.java:189)
E/flutter (13239): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(PlatformViewsChannel.java:122)
E/flutter (13239): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(PlatformViewsChannel.java:60)
E/flutter (13239): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:262)
E/flutter (13239): at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:295)
E/flutter (13239): at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:319)
E/flutter (13239): at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12)
E/flutter (13239): at android.os.Handler.handleCallback(Handler.java:938)
E/flutter (13239): at android.os.Handler.dispatchMessage(Handler.java:99)
E/flutter (13239): at android.os.Looper.loop(Looper.java:236)
E/flutter (13239): at android.app.ActivityThread.main(ActivityThread.java:8057)
E/flutter (13239): at java.lang.reflect.Method.invoke(Native Method)
E/flutter (13239): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:656)
E/flutter (13239): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:967)
E/flutter (13239): , null, null)
E/flutter (13239): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:607:7)
E/flutter (13239): #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:167:18)
E/flutter (13239):
E/flutter (13239): #2 TextureAndroidViewController._sendCreateMessage (package:flutter/src/services/platform_views.dart:1134:18)
E/flutter (13239):
E/flutter (13239): #3 AndroidViewController.create (package:flutter/src/services/platform_views.dart:762:5)
E/flutter (13239):
E/flutter (13239): #4 TextureAndroidViewController.setSize (package:flutter/src/services/platform_views.dart:1062:7)
E/flutter (13239):
E/flutter (13239): #5 RenderAndroidView._sizePlatformView (package:flutter/src/rendering/platform_view.dart:179:29)
E/flutter (13239):

Null Safety Issue

Please upgrade the package to null safety.
Also add support for more platforms if possible.

Value not in range: -1 When I try to get amount from a textEditingController

In transaction amount when I use hardcoded value it works fine but when I try to get data from a texteditingcontroller it gives me exception
Unhandled Exception: RangeError: Value not in range: -1 E/flutter (26283): #0 _StringBase.substring (dart:core-patch/string_patch.dart:393:7) E/flutter (26283): #1 _AamarpayDataState.getPayment (package:aamarpay/src/aamarpaydata.dart:155:14)
I used this line to get data transactionAmount: _rechargeAmountController.text,
Please have a look.

Amar pay child widget position

When I use a widget as child on AamarpayData, my child widget gets some height on its upper position. Why is that??
I've seen your code and found that AamarpayData use SizedBox(height: 80) in a column widget. How can resolve my issue??

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.