Closed channgli closed 7 years ago
@channgli the amount needs to be in cents. Eg, 250 mexican pesos would be 25000. Please comment if this still an issue.
@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?
@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": "lalala@lelelel.com",
"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"
}
}
]
}
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 ?
Hi , I use the test key to call the order api and call failed,Just order api failed. Can help to see why i my "amount": 3, it still happen.
Request body: Response body:
if i use large amount ,it give me other error:
Best Regards, Channing