conekta-android's Issues
NO work
When converting this code to Kotlin it doesn't work,
Type mismatch: inferred type is but Token.CreateToken! was expected
token.onCreateTokenListener(new Token.CreateToken() {
@OverRide
public void onCreateTokenReady(JSONObject data) {
showTokenResult(data);
}
});
[Solicitud de documentación] Error ApacheLogging
Al momento de ejecutar la version 2.1
E FATAL EXCEPTION: AsyncTask #2
Process: mx.com.sfinx.jal.misaldo, PID: 4584
java.lang.RuntimeException: An error occurred while executing doInBackground()
at android.os.AsyncTask$4.done(AsyncTask.java:415)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:381)
at java.util.concurrent.FutureTask.setException(FutureTask.java:250)
at java.util.concurrent.FutureTask.run(FutureTask.java:269)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
at java.lang.Thread.run(Thread.java:1012)
Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/commons/logging/LogFactory;
at org.apache.http.impl.client.AbstractHttpClient.<init>(AbstractHttpClient.java:182)
at org.apache.http.impl.client.DefaultHttpClient.<init>(DefaultHttpClient.java:150)
at io.conekta.conektasdk.Connection$Task.doInBackground(Connection.java:48)
at io.conekta.conektasdk.Connection$Task.doInBackground(Connection.java:43)
at android.os.AsyncTask$3.call(AsyncTask.java:394)
at java.util.concurrent.FutureTask.run(FutureTask.java:264)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
at java.lang.Thread.run(Thread.java:1012)
Caused by: java.lang.ClassNotFoundException: Didn't find class "org.apache.commons.logging.LogFactory" on path: DexPathList
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:259)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at org.apache.http.impl.client.AbstractHttpClient.<init>(AbstractHttpClient.java:182)
at org.apache.http.impl.client.DefaultHttpClient.<init>(DefaultHttpClient.java:150)
at io.conekta.conektasdk.Connection$Task.doInBackground(Connection.java:48)
at io.conekta.conektasdk.Connection$Task.doInBackground(Connection.java:43)
at android.os.AsyncTask$3.call(AsyncTask.java:394)
at java.util.concurrent.FutureTask.run(FutureTask.java:264)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
at java.lang.Thread.run(Thread.java:1012)
La solución se encuentra al añadir en AndroidManifest.xml dentro la etiquieta
<uses-library android:name ="org.apache.http.legacy" android:required ="false"/>
Conekta Order
Not able to create order in android.
Error en Conekta Android
Hola buenas noches, tengo un problema con conekta que cuando quiero tokenizar una tarjeta me sale lo siguiente en el apartado de http logs
{
"object": "error",
"type": null,
"message": "We can only process data from cards that have been properly tokenized or that come from a site that meets PCI compilance. If your site meets the standards , send a copy of your certificate and PCI [email protected] requests access.",
"message_to_purchaser": "Solamente podemos procesar datos de tarjetas que han sido tokenizadas o que provengan de sitios seguros que cumplan los estándares de PCI.",
"param": null,
"code": "processing_error"
}
al principio si funcionaba pero despues me dio este problema... segun yo toma el certificado (que no deberia) de conekta java
agradezco la atención
Android 9- El recurso no encotrado
the object customer "cus_XXXXXXXX" could not be found
Al instlar al aplicación en un telefono con version 9.0 no pasa el cargo,
Pero en otras versiones si pasa me pueden ayudar
authentication_error
No puedo crear un token con la referencia de Android.
El error obtenido es el siguiente:
{"object":"error","type":"authentication_error","message":"Unauthorized access, please check the permissions of your key for this call.","message_to_purchaser":"Acceso no autorizado.","param":null,"code":"authentication_error","validation_error":null}
El token utilizado es: key_eYvWV7gSDkNYXsmr (El mismo de la documentación)
Conekta SDK on api 9
Buenas tardes, tengo una pregunta, el SDK que ustedes proveen puede trabajar en API 9??
Proguard y conekta-android
Buenas tardes, hay alguna configuración especial de proguard que se tenga que agregar para poder utilizarlo con Conekta? ya que estoy estoy intentado generar el token pero me arroja un error que dice: "El recurso no ha sido encontrado".
Maven Command
Cuando corro el comando para instalar la librería me arroja lo siguiente:
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ standalone-pom ---
[ERROR] The specified file '/home/jupazave/AndroidStudioProjects/MobileTerminal/app/libs/tokenizer-release.aar' not exists
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.529 s
[INFO] Finished at: 2015-05-21T19:04:59-05:00
[INFO] Final Memory: 6M/159M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install-file (default-cli) on project standalone-pom: The specified file '/home/jupazave/AndroidStudioProjects/MobileTerminal/app/libs/tokenizer-release.aar' not exists -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
translation missing : en.invalid byte sequence in UTF-8
Hi There,
When i try to genrate the token i am getting is error can you please help me to slove this
"translation missing : en.invalid byte sequence in UTF-8".
Thank you and Regards,
ClassNotFoundException: Didn't find class "org.apache.http.message.BasicNameValuePair"
I had a problem using the conekta library on Android 9.
java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/message/BasicNameValuePair; at io.conekta.conektasdk.Token.create(Token.java:41) at com.caffenio.app.fragments.payment.SummaryPaymentFragment.tokenizeCard(SummaryPaymentFragment.java:577) at com.caffenio.app.fragments.payment.SummaryPaymentFragment.lambda$onViewCreated$1(SummaryPaymentFragment.java:166)
Caused by: java.lang.ClassNotFoundException: Didn't find class "org.apache.http.message.BasicNameValuePair" on path: DexPathList[[zip file "/data/app/
I fix the problem adding the next lines on android manifest
android:usesCleartextTraffic="true"
on application
and inside
<uses-library android:name="org.apache.http.legacy" android:required="false" />
I hope someone who has the same problem could fix it
Best regards
App crashes when triggering http post request if there is no internet connection
In Connection.java Class there is an AsyncTask called Task, there is where the POST request is triggered. There is a try-catch there that if the request fails it throws a new RuntimeException, but this exception is never handled and it causes my app to crash.
Proguard Expecting java type before ';'
Hola, estoy implementado conekta en una aplicación android con compileSdkVersion 27, minSdkVersion 19 y targetSdkVersion 26 y hago uso de proguard, agregue la regla a mi archivo:
-keep class com.conekta.** { ; }
Pero al momento de generar el apk firmado me da el error:
Warning: Exception while processing task java.io.IOException: proguard.ParseException: Expecting java type before ';' in line 24 of file 'C:\Users\user\StudioProjects\myapp\app\proguard-rules.pro'
¿Cual es la regla correcta para implementarlo?
conekta
excelente
org.apache.httpcomponents.httpclient dependency not supported by Android
el token no existe
Cuando intento generar una tarjeta tokenizada para almacenarla en los paymentSources,
al devolverla esta devuelve "el token no existe"
pero si intento con tarjeta de un solo uso, entonces me deja proceder con la compra normalmente
k
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.