android-sdk's People
Forkers
berehovyi lesnikvo markmakhovyk zaknafenchik doster-su jlebourhis mark-liu-git dimwap sokol343 wajedbisleem alexmarikutsa scammer12358android-sdk's Issues
Custom card view
Can we please make the Card class constructors public so we can more easily just create custom card views and just populate the Card data for use? Or is there a specific reason why it isn't public?
Can i set values to form from outside?
Hi guys
Can I set values to card form from outside, for example from card.io scanner?
Or can I create Card object using result from this scanner?
Api 22 crash.
android.view.InflateException: Binary XML file line #209: Error inflating class com.cloudipsp.android.CloudipspWebView
at android.view.LayoutInflater.createView(LayoutInflater.java:633)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:743)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:806)
at android.view.LayoutInflater.inflate(LayoutInflater.java:504)
at android.view.LayoutInflater.inflate(LayoutInflater.java:414)
CardInputView customization
Hello!
I'm trying to customise CardInputView to achieve following design.
I didn't find ways to customise via styles.
So I make same with separate views such us CardNumberEdit
, CardExpMmEdit
etc. , but faced with no possibility to create Card
as it is package private.
What is solution to get following design with CardInputView
?
Thanks in advice!
Can't set merchant data in order
Hi! You have an error on set merchant data in your SDK.
merchantData at on create object always == null
public void setMerchantData(String value) {
if(this.merchantData == null) {
throw new NullPointerException("MerchantData should be not null");
} else if(this.merchantData.length() > 2048) {
throw new IllegalArgumentException("MerchantData should be not more than 2048 symbols");
} else {
this.merchantData = value;
}
}
Проблема с отображением страницы с вводом кода подтверждения банка
Доюры день Столкнулся с проблемой в public final class Cloudipsp.
При вызове метода public void pay(final Card card, final Order order, PayCallback callback) {
if (!card.isValidCard()) {
throw new IllegalArgumentException("Card should be valid");
}
new PayTask(callback) {
@Override
public void runInTry() throws java.lang.Exception {
final String token = getToken(order, card);
final Checkout checkout = checkout(card, token, order.email, URL_CALLBACK);
payContinue(token, checkout, callback);
}
}.start();
}
метод payContinue(token, checkout, callback); должен вызывать по ветке if (checkout.action == Checkout.WITHOUT_3DS) {
Cloudipsp.runInTry(orderChecker, callback);
} else {
url3ds(token, checkout, callback);
}
должен по идее открывать <com.cloudipsp.android.CloudipspWebView
android:id="@+id/web_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone"/>
для ввода кода подтверждения из банка . Но этого не происходит и приходят отказы платежа в этой связи. Не подскажете куда смотреть?
Certificate issues
Got error when using SDK < 25:
06-15 14:58:34.604 3532-3532/com.cloudipsp.android.demo W/System.err: com.cloudipsp.android.Cloudipsp$Exception$NetworkSecurity: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
06-15 14:58:34.614 3532-3532/com.cloudipsp.android.demo W/System.err: at com.cloudipsp.android.Cloudipsp.runInTry(Cloudipsp.java:342)
06-15 14:58:34.614 3532-3532/com.cloudipsp.android.demo W/System.err: at com.cloudipsp.android.Cloudipsp.access$1700(Cloudipsp.java:59)
06-15 14:58:34.614 3532-3532/com.cloudipsp.android.demo W/System.err: at com.cloudipsp.android.Cloudipsp$Task.run(Cloudipsp.java:365)
Custom form for card
HI! In SDK your Card class doesn't have public consturtor so i can't create Card object with my data from custom form.
JSONException: No value for send_data
При вызове cloudipisp.pay()
на 506 строке в Cloudipsp.java приходит вообще другой ответ от сервера, где в json ответе нет ключа send_data.
Использовал тестовые реквизиты.
Из-за этой ошибки невозможно внедрить Fondy в приложение.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.