Code Monkey home page Code Monkey logo

payhere-mobilesdk-flutter's Introduction

PayHere Flutter SDK

Integrating PayHere with your Flutter App is super easy with our PayHere Flutter SDK. You just have to include the package in your project dependencies, call its methods to initiate a payment and fetch the payment status just after the payment. The beauty is, this SDK allows you to accept a payment within your app, without redirecting your app user to the web browser.

Usage

1. Include PayHere Mobile SDK in your App

Open your Flutter project's pubspec.yaml file and add the PayHere Flutter SDK dependency.

dependencies:
  payhere_mobilesdk_flutter: ^3.0.10

Then run the following commands in your Flutter project directory.

flutter pub get

2. Android Pre-requisites

a. Add the PayHere Android SDK's Maven repository

Open up the (outermost) build.gradle file in your Android project and add the repository.

allprojects {
    repositories {
        mavenLocal()
        maven {
            url 'https://jitpack.io' 
        }
    }
}
b. Allow Manifest attribute merge

Open up the AndroidManifest.xml file in your Anrdoid project and make the following changes.

i. Declare the Android tools namespace in the <manifest> element.

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.domain.name"
    xmlns:tools="http://schemas.android.com/tools">

ii. Add the replace merge rule for the android:label attribute in the <application> element.

<application tools:replace="android:label">

3. iOS Pre-requisites

Run the following command in your iOS Project.

pod install

4. Whitelist Mobile App Package Name

a. Login to your PayHere Merchant Account and navigate to Integrations.

b. Click the 'Add Domain/App' button.

c. Select 'App' from the first dropdown.

d. Add your Flutter App package name (e.g. lk.bhasha.helakuru).

e. Take note of the hash value in the last field. This is your Merchant Secret for this specific mobile App.

f. Click 'Request to Approve'.

If you are using a PayHere Live Merchant Account, your App Package Name must be manually reviewed by our operations team. Please allow upto a day for this review process to complete.

For more information, please contact [email protected]

5. Initiate a Payment Request to PayHere Payment Gateway

a. One-time Payment Request

Creates a one-time payment request charged only once. To capture the payment details from your server, read our docs.

import 'package:payhere_mobilesdk_flutter/payhere_mobilesdk_flutter.dart';

Map paymentObject = {
  "sandbox": true,                 // true if using Sandbox Merchant ID
  "merchant_id": "1211149",        // Replace your Merchant ID
  "notify_url": "https://ent13zfovoz7d.x.pipedream.net/",
  "order_id": "ItemNo12345",
  "items": "Hello from Flutter!",
  "amount": 50.00,
  "currency": "LKR",
  "first_name": "Saman",
  "last_name": "Perera",
  "email": "[email protected]",
  "phone": "0771234567",
  "address": "No.1, Galle Road",
  "city": "Colombo",
  "country": "Sri Lanka",
  "delivery_address": "No. 46, Galle road, Kalutara South",
  "delivery_city": "Kalutara",
  "delivery_country": "Sri Lanka",
  "custom_1": "",
  "custom_2": ""
};

PayHere.startPayment(
  paymentObject, (paymentId) {
    print("One Time Payment Success. Payment Id: $paymentId");
  }, (error) { 
    print("One Time Payment Failed. Error: $error");
  }, () { 
    print("One Time Payment Dismissed");
  }
);
b. Recurring Payment Request

Creates a subscription payment that is charged at a fixed frequency. To capture the payment details from your server, read our docs.

Read more about Recurring Payments in our docs.

import 'package:payhere_mobilesdk_flutter/payhere_mobilesdk_flutter.dart';

Map paymentObject = {
  "sandbox": true,                 // true if using Sandbox Merchant ID
  "merchant_id": "1211149",        // Replace your Merchant ID
  "notify_url": "https://ent13zfovoz7d.x.pipedream.net/",
  "order_id": "ItemNo12345",
  "items": "Hello from Flutter!",
  "amount": 100.00,
  "recurrence": "1 Month",        // Recurring payment frequency
  "duration": "1 Year",           // Recurring payment duration
  "currency": "LKR",
  "first_name": "Saman",
  "last_name": "Perera",
  "email": "[email protected]",
  "phone": "0771234567",
  "address": "No.1, Galle Road",
  "city": "Colombo",
  "country": "Sri Lanka",
  "delivery_address": "No. 46, Galle road, Kalutara South",
  "delivery_city": "Kalutara",
  "delivery_country": "Sri Lanka",
  "custom_1": "",
  "custom_2": ""
};

PayHere.startPayment(
  paymentObject, (paymentId) {
    print("Recurring Payment Success. Payment Id: $paymentId");
  }, (error) { 
    print("Recurring Payment Failed. Error: $error");
  }, () { 
    print("Recurring Payment Dismissed");
  }
);
c. Preapproval Request

Tokenize customer card details for later usage with the PayHere Charging API. To capture the payment details from your server, read our docs.

Read more about Automated Charging in our docs.

NOTE: Since version 3.0.4 you can pass an 'amount' parameter in the pre-approval request. If this is omitted the customer will only be pre-approved. If an amount is provided, it will be charged from the customer during pre-approval. In both scenarios a customer_token will still be generated.

import 'package:payhere_mobilesdk_flutter/payhere_mobilesdk_flutter.dart';

Map paymentObject = {
  "sandbox": true,                 // true if using Sandbox Merchant ID
  "preapprove": true,              // Required
  "merchant_id": "1211149",        // Replace your Merchant ID
  "notify_url": "http://sample.com/notify",
  "order_id": "ItemNo12345",
  "items": "Hello from Flutter!",
  "currency": "LKR",
  "first_name": "Saman",
  "last_name": "Perera",
  "email": "[email protected]",
  "phone": "0771234567",
  "address": "No.1, Galle Road",
  "city": "Colombo",
  "country": "Sri Lanka",
  "amount": 30.00                   // Optional. An amount to pass while pre-approving.
};

PayHere.startPayment(
  paymentObject, (paymentId) {
    print("Tokenization Payment Success. Payment Id: $paymentId");
  }, (error) { 
    print("Tokenization Payment Failed. Error: $error");
  }, () { 
    print("Tokenization Payment Dismissed");
  }
);
d. Hold-on-Card Request

Authorize (hold) charges on a customer's card for later use with the PayHere Capture API. To capture the payment hold details from your server, read out docs.

Read more about Hold-on-card in our docs.

import 'package:payhere_mobilesdk_flutter/payhere_mobilesdk_flutter.dart';

Map paymentObject = {
  "sandbox": true,                // true if using Sandbox Merchant ID
  "authorize": true,              // Required
  "merchant_id": "1211149",       // Replace your Merchant ID
  "notify_url": "https://ent13zfovoz7d.x.pipedream.net/",
  "order_id": "ItemNo12345",
  "items": "Hello from Flutter!",
  "currency": "LKR",
  "amount": "50.00",
  "first_name": "Saman",
  "last_name": "Perera",
  "email": "[email protected]",
  "phone": "0771234567",
  "address": "No.1, Galle Road",
  "city": "Colombo",
  "country": "Sri Lanka",
};

PayHere.startPayment(paymentObject, (paymentId) {
  print("Hold-on-Card Payment Success.");
}, (error) {
  print("Hold-on-Card Payment Failed. Error: $error");
}, () {
  print("Hold-on-Card Payment Dismissed");
});

6. Optionally, pass Item-wise Details

Starting with version 2.0.0 you can optionally pass the details of the line items in the order. These details will appear in the customer's invoice. Item-wise Details are supported in Onetime, Subscription and Authorization payment modes. It is not supported in Pre-approval payments.

Each item has four parameters. Their parameter names must be followed by the index of that item. For example:

  "item_number_1": "ITM001",
  "item_name_1": "PayHere Sticker",
  "quantity_1": "2",
  "amount_1": "25.0",

An example Onetime payment request with 2 items is shown below. If you have specific questions, please raise them in the Issues section.

import 'package:payhere_mobilesdk_flutter/payhere_mobilesdk_flutter.dart';

Map paymentObject = {
  "sandbox": true, 
  "merchant_id": "1211149",             // Replace your Merchant ID
  "notify_url": "https://ent13zfovoz7d.x.pipedream.net/",
  "order_id": "ItemNo12345",
  "items": "Hello from Flutter!",

  "item_number_1": "001",               // ** Item 1 **
  "item_name_1": "Test Item #1",        
  "amount_1": "15.00",                  
  "quantity_1": "2",                    
  "item_number_2": "002",               // ** Item 2 **
  "item_name_2": "Test Item #2",        
  "amount_2": "20.00",                  
  "quantity_2": "1",                    
  
  "amount": 50.00,
  "currency": "LKR",
  "first_name": "Saman",
  "last_name": "Perera",
  "email": "[email protected]",
  "phone": "0771234567",
  "address": "No.1, Galle Road",
  "city": "Colombo",
  "country": "Sri Lanka",
  "delivery_address": "No. 46, Galle road, Kalutara South",
  "delivery_city": "Kalutara",
  "delivery_country": "Sri Lanka",
  "custom_1": "",
  "custom_2": ""
};

PayHere.startPayment(
  paymentObject, (paymentId) {
    print("One Time Payment Success. Payment Id: $paymentId");
  }, (error) { 
    print("One Time Payment Failed. Error: $error");
  }, () { 
    print("One Time Payment Dismissed");
  }
);

FAQ

What versions of Flutter are supported?

Flutter versions above 1.20.0 are supported.

What versions of iOS are supported?

The iOS component for this SDK supports iOS Versions above 11.0.

What versions of Android are supported?

The Android component for this SDK supports Android Versions above API Level 17.

What are the parameters for the PayHere.startPayment method?

PayHere.startPayment(
  paymentObject, 
  onCompletedHandler,
  onErrorHandler,
  onDismissedHandler
);
  • paymentObject - Object The payment parameters as a Map<String, dynamic>.

  • onCompletedHandler - Function Called with the PayHere Payment ID (String) as a parameter, for succesful payments.

  • onErrorHandler - Function Called with the Error (String) as a parameter, when an error occurs.

  • onDismissedHandler - Function Called with no parameters, when the payment popup is closed before payments are processed.

How to get payment details such as payment method, status, card holder etc.?

You must setup a Server Endpoint that accepts the asynchronous PayHere Payment Notification POST request, and pass its URL to the notify_url parameter of the paymentObject.

Each payment request type (one-time/recurring/pre-approval) sends a different payment notification. Study the following sections for more information.

I am getting an error saying, "Could not GET 'https://dl.bintray.com..."

PayHere Flutter Native SDK versions prior to 1.0.2 (1.0.1 and previous versions) depended on an older version of the PayHere Android SDK which is no longer available through the bintray.com Maven repository. Update to the latest version 1.0.2 and try again.

If you are still experiencing issues, make sure you have followed the new "2. Android Pre-requisites" section with updated instructions for SDK versions 1.0.2 and above.

I am getting a runtime error in iOS saying, "PayHere Bundle could not be found!"

To fix the issue, open the "./ios/Podfile" file. Find the line that says "use_modular_headers!". Above it, add the "use_frameworks!" line as shown below.

target 'Runner' do
  # Add this line
  use_frameworks!
  use_modular_headers!

  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
end

Clean and re-build your project and the issue should be resolved.

Does this package support Flutter Null Safety?

Yes! Version 1.0.3 and up opts into Flutter Null Safety.

If you are creating a new Flutter project, you will experience no issues. If you have project that you are planning to upgrade to Flutter 2 / migrate to Flutter Null Safety, there are no changes to be done in code other than updating to the latest version.

Can I pass details about each item in the Order?

Yes! Starting from version 2.0.0, the PayHere Flutter SDK supports Item-wise Parameters. Please read Section 6 above.

Does this SDK support Payment Authorization (Hold on Card) and Capture?

Yes and No. Starting from version 2.0.0 this SDK supports Authorization (also known as Hold on Card) requests. Authorizations generate an authorization_token which is sent as a POST request to your notify_url.

From there you must use the PayHere Capture API to use the genereated token and perform the capture. You can read more about the PayHere Hold on Card Feature by reading our docs.

I have a different question. Where should I raise my issues?

  1. You can raise issues directly at the Issues section for the SDK's GitHub page.
  2. You can contact a PayHere Developer for technical support by mailing your issue and relevant code/screenshots to [email protected]

payhere-mobilesdk-flutter's People

Contributors

ishud avatar payheredevs avatar srilals avatar thisura98 avatar yasithchandula avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

payhere-mobilesdk-flutter's Issues

Unauthorized domain

I have done the Pre-requisites. But startPayment opens the bottom sheet and closes it immediately. and the onError is executed.
One Time Payment Failed. Error: Unauthorized domain

I'm using Flutter SDK: 3.19.6 and Dart SDK: 3.3.4

full log:

D/AppCompatDelegate(28181): Checking for metadata for AppLocalesMetadataHolderService : Service not found
D/PayHereBaseActivity(28181): Session timer enabled
D/PayHereBaseActivity(28181): Session timer Restarted
W/epixel.cartuse(28181): Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (unsupported, reflection, allowed)
W/epixel.cartuse(28181): Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (unsupported, reflection, allowed)
W/BottomSheetBehavior(28181): Cannot set state: 5
D/CompatibilityChangeReporter(28181): Compat change id reported: 171228096; UID 10298; state: ENABLED
W/Glide   (28181): Failed to find GeneratedAppGlideModule. You should include an annotationProcessor compile dependency on com.github.bumptech.glide:compiler in your application and a @GlideModule annotated AppGlideModule implementation or LibraryGlideModules will be silently ignored
D/PayHereBaseActivity(28181): Session timer Restarted
D/PaymentMethodFragment(28181): Init Payment method call failed 
D/PayHereBaseActivity(28181): Session timer Stopped

make into federated plugin (add web support)

hi, I've been in touch via the customer support.
please integrate my changes for web support There are 3 packages that need to be created on pub.dev

  • flutter_payhere 1.0.0
  • flutter_payhere_platform_interface 1.0.0
  • flutter_payhere_web 1.0.0

Suggested steps-->

  1. fork:
    Package 1: main package, modified fork of payhere_mobilesdk_flutter
    Package 2: flutter_payhere_platform_interface and Package 3: flutter_payhere_web

  2. test multiplatform_example from https://github.com/iwalpola/flutter_payhere_packages on android, iOS and web

  3. update README.md, pubspec.yaml and CHANGELOG.md in

in the pubspecs, the dependencies are linking to my repo so change those and then change homepage and publish_to properties

  1. final folder search to make sure that the word "iwalpola" does not appear in any publishable files
  2. if you are satisfied, publish on pub dev

CocoaPods could not find compatible versions for pod "payHereSDK

Command

PROJECT/ios/pod install

Report

  • What did you do?
    Tried to run the 'pod install' command.

  • What did you expect to happen?
    Expected to install pods and run 'flutter run'

  • What happened instead?
    Pod install fails

Stack

   CocoaPods : 1.10.1
        Ruby : ruby 2.6.8p205 (2021-07-07 revision 67951) [universal.arm64e-darwin21]
    RubyGems : 3.0.3.1
        Host : macOS 12.2.1 (21D62)
       Xcode : 13.3 (13E113)
         Git : git version 2.32.0 (Apple Git-132)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib
Repositories : trunk - CDN - https://cdn.cocoapods.org/

Plugins

cocoapods-deintegrate : 1.0.4
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.0
cocoapods-trunk       : 1.5.0
cocoapods-try         : 1.2.0

Error

[!] CocoaPods could not find compatible versions for pod "payHereSDK":
  In snapshot (Podfile.lock):
    payHereSDK (= 2.1.2)

  In Podfile:
    payhere_mobilesdk_flutter (from `.symlinks/plugins/payhere_mobilesdk_flutter/ios`) was resolved to 1.2.1, which depends on
      payHereSDK (= 2.2.4)

Specs satisfying the `payHereSDK (= 2.1.2), payHereSDK (= 2.2.4)` dependency were found, but they required a higher minimum deployment target.

java.lang.NullPointerException in production

Got this error

java.lang.NullPointerException:
at lk.payhere.androidsdk.fragment.PaymentResultFragment$1.run
at android.os.Handler.handleCallback (Handler.java:820)
at android.os.Handler.dispatchMessage (Handler.java:104)
at android.os.Looper.loop (Looper.java:207)
at android.app.ActivityThread.main (ActivityThread.java:5811)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:802)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:692)

IOS Problem - Merchant is not Eligable

Hi,
Sandbox works fine on IOS. But when switching to LIVE account, the following error is thrown when trying to open the payment menu.
One Time Payment Failed. Error: Server Response Error: This payment cannot be processed as the merchant is not eligible to accept automatic payments

I have created and got a separate domain for IOS package approved.
for Android, it works fine.

What could be the issue?

merchant_secret

Why does the merchant_secret does not included in the example?

Application crash when click the payment option

I wasted 2 days finding a solution. But still, I can't find it.

This is the log

D/PHMainActivity( 8951): Bottom Sheet state : 3
I/WebViewFactory( 8951): Loading com.android.webview version 39 (6695563-x86) (code 300007)
I/LibraryLoader( 8951): Time to load native libraries: 1 ms (timestamps 3933-3934)
I/LibraryLoader( 8951): Expected native library version number "",actual native library version number ""
V/WebViewChromiumFactoryProvider( 8951): Binding Chromium to main looper Looper (main, tid 1) {2c8862f9}
I/LibraryLoader( 8951): Expected native library version number "",actual native library version number ""
I/chromium( 8951): [INFO:library_loader_hooks.cc(104)] Chromium logging enabled: level = 0, default verbosity = 0
I/BrowserStartupController( 8951): Initializing chromium process, singleProcess=true
W/art ( 8951): Attempt to remove local handle scope entry from IRT, ignoring
W/chromium( 8951): [WARNING:resource_bundle.cc(304)] locale_file_path.empty()
I/chromium( 8951): [INFO:aw_browser_main_parts.cc(65)] Load from apk succesful, fd=80 off=46184 len=3037
I/chromium( 8951): [INFO:aw_browser_main_parts.cc(78)] Loading webviewchromium.pak from, fd:81 off:229484 len:1089587
E/BluetoothAdapter( 8951): Bluetooth binder is null
D/EGL_emulation( 8951): eglCreateContext: 0x94728e20: maj 2 min 0 rcv 2
D/EGL_emulation( 8951): eglMakeCurrent: 0x94728e20: ver 2 0 (tinfo 0x9fc5c330)
W/chromium( 8951): [WARNING:data_reduction_proxy_settings.cc(331)] SPDY proxy OFF at startup
W/ResourceType( 8951): No known package when getting value for resource number 0x02040003
D/AndroidRuntime( 8951): Shutting down VM
E/AndroidRuntime( 8951): FATAL EXCEPTION: main
E/AndroidRuntime( 8951): android.view.InflateException: Binary XML file line #7: Error inflating class lk.payhere.androidsdk.util.ObservableWebView
E/AndroidRuntime( 8951): at android.view.LayoutInflater.createView(LayoutInflater.java:633)
E/AndroidRuntime( 8951): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:743)
E/AndroidRuntime( 8951): at android.view.LayoutInflater.rInflate(LayoutInflater.java:806)
E/AndroidRuntime( 8951): at android.view.LayoutInflater.inflate(LayoutInflater.java:504)
E/AndroidRuntime( 8951): at android.view.LayoutInflater.inflate(LayoutInflater.java:414)
E/AndroidRuntime( 8951): at lk.payhere.androidsdk.fragment.PaymentDetailFragment.onCreateView(PaymentDetailFragment.java:101)
E/AndroidRuntime( 8951): at androidx.fragment.app.Fragment.performCreateView(Fragment.java:2600)
E/AndroidRuntime( 8951): at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:881)
E/AndroidRuntime( 8951): at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManagerImpl.java:1238)
E/AndroidRuntime( 8951): at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:1303)
E/AndroidRuntime( 8951): at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:439)
E/AndroidRuntime( 8951): at androidx.fragment.app.FragmentManagerImpl.executeOps(FragmentManagerImpl.java:2079)
E/AndroidRuntime( 8951): at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(FragmentManagerImpl.java:1869)
E/AndroidRuntime( 8951): at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManagerImpl.java:1824)
E/AndroidRuntime( 8951): at androidx.fragment.app.FragmentManagerImpl.execPendingActions(FragmentManagerImpl.java:1727)
E/AndroidRuntime( 8951): at androidx.fragment.app.FragmentManagerImpl$2.run(FragmentManagerImpl.java:150)
E/AndroidRuntime( 8951): at android.os.Handler.handleCallback(Handler.java:739)
E/AndroidRuntime( 8951): at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime( 8951): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 8951): at android.app.ActivityThread.main(ActivityThread.java:5254)
E/AndroidRuntime( 8951): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 8951): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 8951): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
E/AndroidRuntime( 8951): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
E/AndroidRuntime( 8951): Caused by: java.lang.reflect.InvocationTargetException
E/AndroidRuntime( 8951): at java.lang.reflect.Constructor.newInstance(Native Method)
E/AndroidRuntime( 8951): at java.lang.reflect.Constructor.newInstance(Constructor.java:288)
E/AndroidRuntime( 8951): at android.view.LayoutInflater.createView(LayoutInflater.java:607)
E/AndroidRuntime( 8951): ... 23 more
E/AndroidRuntime( 8951): Caused by: android.content.res.Resources$NotFoundException: String resource ID #0x2040003
E/AndroidRuntime( 8951): at android.content.res.Resources.getText(Resources.java:299)
E/AndroidRuntime( 8951): at android.content.res.Resources.getString(Resources.java:385)
E/AndroidRuntime( 8951): at com.android.org.chromium.content.browser.ContentViewCore.setContainerView(ContentViewCore.java:684)
E/AndroidRuntime( 8951): at com.android.org.chromium.content.browser.ContentViewCore.initialize(ContentViewCore.java:608)
E/AndroidRuntime( 8951): at com.android.org.chromium.android_webview.AwContents.createAndInitializeContentViewCore(AwContents.java:631)
E/AndroidRuntime( 8951): at com.android.org.chromium.android_webview.AwContents.setNewAwContents(AwContents.java:780)
E/AndroidRuntime( 8951): at com.android.org.chromium.android_webview.AwContents.(AwContents.java:619)
E/AndroidRuntime( 8951): at com.android.org.chromium.android_webview.AwContents.(AwContents.java:556)
E/AndroidRuntime( 8951): at com.android.webview.chromium.WebViewChromium.initForReal(WebViewChromium.java:311)
E/AndroidRuntime( 8951): at com.android.webview.chromium.WebViewChromium.access$100(WebViewChromium.java:96)
E/AndroidRuntime( 8951): at com.android.webview.chromium.WebViewChromium$1.run(WebViewChromium.java:263)
E/AndroidRuntime( 8951): at com.android.webview.chromium.WebViewChromium$WebViewChromiumRunQueue.drainQueue(WebViewChromium.java:123)
E/AndroidRuntime( 8951): at com.android.webview.chromium.WebViewChromium$WebViewChromiumRunQueue$1.run(WebViewChromium.java:110)
E/AndroidRuntime( 8951): at com.android.org.chromium.base.ThreadUtils.runOnUiThread(ThreadUtils.java:144)
E/AndroidRuntime( 8951): at com.android.webview.chromium.WebViewChromium$WebViewChromiumRunQueue.addTask(WebViewChromium.java:107)
E/AndroidRuntime( 8951): at com.android.webview.chromium.WebViewChromium.init(WebViewChromium.java:260)
E/AndroidRuntime( 8951): at android.webkit.WebView.(WebView.java:554)
E/AndroidRuntime( 8951): at android.webkit.WebView.(WebView.java:489)
E/AndroidRuntime( 8951): at android.webkit.WebView.(WebView.java:472)
E/AndroidRuntime( 8951): at android.webkit.WebView.(WebView.java:459)
E/AndroidRuntime( 8951): at lk.payhere.androidsdk.util.Observable

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.