affirm / affirm-android-sdk Goto Github PK
View Code? Open in Web Editor NEW:no_entry: [DEPRECATED] Active at
Home Page: https://github.com/Affirm/affirm-merchant-sdk-android , https://github.com/Affirm/affirm-android-sdk
:no_entry: [DEPRECATED] Active at
Home Page: https://github.com/Affirm/affirm-merchant-sdk-android , https://github.com/Affirm/affirm-android-sdk
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.
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.
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)
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.