Git Product home page Git Product logo

affirm-android-sdk's People

Contributors

amybeall avatar georgewitteman avatar hectorups avatar nandadubey avatar usmcfighter94 avatar wangdaliu avatar

Watchers

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

affirm-android-sdk's Issues

Affirm Views wont scroll

The affirm accepts touch input in the form of a tap. But the screens no longer scroll.

Not sure why this started happening or how to begin debugging the issue.

Server Error on Production Enviroment

I have implemented Affirm on my Android application. Sandbox is working fine on all Android versions. But when i switch to production envirnoment its giving me error -
(com.affirm.affirmsdk.CheckoutActivity: com.affirm.affirmsdk.ServerError)
Same build is working fine on Android 7.1.1 but its giving me this error on Android 6.0.1 version.
Below is my code -

//// Sandbox
      affirm = Affirm.builder()
             .setEnvironment(Affirm.Environment.SANDBOX)
            .setMerchantPublicKey("")
             .setFinancialProductKey("")
             .build();

//        //// Live
      affirm = Affirm.builder()
              .setEnvironment(Affirm.Environment.PRODUCTION)
              .setMerchantPublicKey("")
              .setFinancialProductKey("")
              .build();


Request you guys to please help me. As i want to go live ASAP with Affirm.
Thanks in Advance.

JsonSyntaxException when calling writePromoToTextView on a product that costs more than $17,500

When attempting to call writePromoToTextView and passing a cost value greater than $17,500, the Affirm sdk crashes with error:

E/AndroidRuntime: FATAL EXCEPTION: OkHttp Dispatcher
                                                                   com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected a string but was BEGIN_ARRAY at line 1 column 12 path $.field
                                                                       at com.google.gson.Gson.fromJson(Gson.java:900)
                                                                       at com.google.gson.Gson.fromJson(Gson.java:853)
                                                                       at com.google.gson.Gson.fromJson(Gson.java:802)
                                                                       at com.google.gson.Gson.fromJson(Gson.java:774)
                                                                       at com.affirm.affirmsdk.AffirmRequest$1.onResponse(AffirmRequest.java:72)

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.