Comments (5)
@channgli the amount needs to be in cents. Eg, 250 mexican pesos would be 25000. Please comment if this still an issue.
from conekta-java.
@lu1s I try use 400, more than 300. but it still failed.
@lu1s can you give me the example of the request ?
I use below customers, just informal card number, is that ok?
from conekta-java.
@channgli This would be a correct request body for an order creation with charge:
{
"line_items": [
{
"description": "Autem eaque nulla quo iure facere eligendi id dicta.",
"name": "Bernardo Tirado Ponce",
"quantity": 1,
"unit_price": 400
}
],
"shipping_lines": [
{
"amount": 0,
"carrier": "8msqtma7pd",
"method": "xuo5umtx5s",
"tracking_number": "bak7pn8s37"
}
],
"customer_info": {
"email": "[email protected]",
"name": "limo lomo",
"phone": "5554589994"
},
"shipping_contact": {
"address": {
"city": "Red Deer",
"country": "AS",
"residential": true,
"state": "Alberta",
"street1": "Alexis St",
"street2": "250",
"postal_code": "72894"
},
"between_streets": "Kurt Gödel, David Hilbert, Wilhelm Ackermann",
"phone": "+1-202-555-0142",
"receiver": "Olivia Merino Heredia"
},
"currency": "mxn",
"charges": [
{
"payment_method": {
"type": "card",
"token_id": "tok_test_visa_4242"
}
}
]
}
from conekta-java.
Hi @lu1s ,
I use your request, it still exist this issue. see below. This is in test mode, does the conekta limit these amount or not ?
from conekta-java.
from conekta-java.
Related Issues (20)
- No puedo acceder a los atributos code, type y params de la clase Error (ParameterValidationError) HOT 2
- Fault in getRequest recursive logic causes bug HOT 1
- API 1.1 compatiblity
- Update Conekta-Java
- Exception in Android HOT 14
- Could not connect to https://api.conekta.io. HOT 6
- Error en documentación HOT 2
- actualizar Doc Create Payment Source Java
- Missing Token spec
- Error al recuperar los params HOT 7
- The amount issue when call the order HOT 6
- Wrong method call on Event object HOT 1
- Could not connect to https://api.conekta.io. HOT 2
- Error amount HOT 3
- Could not connect to https://api.conekta.io java HOT 1
- Plan update no existe HOT 4
- ¿Que versión del SDK es la correcta? HOT 25
- Release order cancel method HOT 4
- Add a deprecated flag for Charge.create methods HOT 1
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.
from conekta-java.