Git Product home page Git Product logo

payu-emea / payu-flutter Goto Github PK

View Code? Open in Web Editor NEW
12.0 12.0 5.0 2.79 MB

Flutter package gives a set of Flutter mobile components for: pay-by-link, one-time card payments, storing card options, scanning card data, and one-click payments (Google Pay, Apple Pay, BLIK). Card is processed via PayU Backend and package sends request, but each merchant will receive card tokens in retrieve method(), so the card data does not go through merchant backend. User Interface in package can be adjusted to merchant branding/style guide.

License: Apache License 2.0

Makefile 1.11% Kotlin 1.79% Ruby 1.01% Swift 2.47% Objective-C 0.18% Dart 93.24% Shell 0.20%

payu-flutter's People

Contributors

aivashyna avatar arkadiuszpayu avatar damianchocianowicz avatar krzysztofgawronekpayu avatar regdos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

payu-flutter's Issues

Release date

Is it possible to intergrate this library? Is it still in the prerelase phase?

Upgrade properties

payu_add_card/lib/src/page/add_card_page.dart:28:44: Error: The getter 'backgroundColor' isn't defined for the class 'ThemeData'.
 - 'ThemeData' is from 'package:flutter/src/material/theme_data.dart' ('/C:/Flutter/flutter/packages/flutter/lib/src/material/theme_data.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'backgroundColor'.
        backgroundColor: Theme.of(context).backgroundColor,
                                           ^^^^^^^^^^^^^^^

kotlin.UninitializedPropertyAccessException: lateinit property loadPaymentDataResult has not been initialized

Hi, I have issue with google pay payment.

My steps:

  1. Initialized library.
  2. Create PaymentMethodsConfiguration
  3. Select PaymentMethod from PaymentMethodsWidget and execute it using PaymentMethodsProcessor().process().
  4. await payments.canMakePayment(paymentConfiguration) executed with success.
  5. await payments.makePayment(paymentConfiguration); executed with success, but after that my app crashes

I have got such error log:
kotlin.UninitializedPropertyAccessException: lateinit property loadPaymentDataResult has not been initialized
E/AndroidRuntime(17456): at android.app.ActivityThread.deliverResults(ActivityThread.java:5311)
E/AndroidRuntime(17456): at android.app.ActivityThread.handleSendResult(ActivityThread.java:5350)
E/AndroidRuntime(17456): at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:54)
E/AndroidRuntime(17456): at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
E/AndroidRuntime(17456): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
E/AndroidRuntime(17456): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
E/AndroidRuntime(17456): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2215)
E/AndroidRuntime(17456): at android.os.Handler.dispatchMessage(Handler.java:106)
E/AndroidRuntime(17456): at android.os.Looper.loopOnce(Looper.java:346)
E/AndroidRuntime(17456): at android.os.Looper.loop(Looper.java:475)
E/AndroidRuntime(17456): at android.app.ActivityThread.main(ActivityThread.java:7889)
E/AndroidRuntime(17456): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(17456): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
E/AndroidRuntime(17456): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1009)
E/AndroidRuntime(17456): Caused by: kotlin.UninitializedPropertyAccessException: lateinit property loadPaymentDataResult has not been initialized
E/AndroidRuntime(17456): at io.flutter.plugins.pay_android.GooglePayHandler.handlePaymentSuccess(GooglePayHandler.kt:216)
E/AndroidRuntime(17456): at io.flutter.plugins.pay_android.GooglePayHandler.onActivityResult(GooglePayHandler.kt:180)
E/AndroidRuntime(17456): at io.flutter.embedding.engine.FlutterEngineConnectionRegistry$FlutterEngineActivityPluginBinding.onActivityResult(FlutterEngineConnectionRegistry.java:774)
E/AndroidRuntime(17456): at io.flutter.embedding.engine.FlutterEngineConnectionRegistry.onActivityResult(FlutterEngineConnectionRegistry.java:422)
E/AndroidRuntime(17456): at io.flutter.embedding.android.FlutterActivityAndFragmentDelegate.onActivityResult(FlutterActivityAndFragmentDelegate.java:857)
E/AndroidRuntime(17456): at io.flutter.embedding.android.FlutterFragment.onActivityResult(FlutterFragment.java:1251)
E/AndroidRuntime(17456): at io.flutter.embedding.android.FlutterFragmentActivity.onActivityResult(FlutterFragmentActivity.java:653)
E/AndroidRuntime(17456): at android.app.Activity.dispatchActivityResult(Activity.java:8381)
E/AndroidRuntime(17456): at android.app.ActivityThread.deliverResults(ActivityThread.java:5304)
E/AndroidRuntime(17456): ... 13 more

Release date?

Hi, we're interested in integrating PayU in our Flutter app.

Since this repo was created only 10 days ago and is still empty, could you provide an estimate on when this Flutter plugin will be available to use?

Thank you.

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.