{
"language": "en",
"command": "SUBMIT_TRANSACTION",
"merchant": {
"apiLogin": "pRRXKOl8ikMmt9u",
"apiKey": "4Vj8eK4rloUd272L48hsrarnUA"
},
"transaction": {
"order": {
"accountId": "512326",
"referenceCode": "testPanama1",
"description": "Test order Panama",
"language": "en",
"notifyUrl": "http://pruebaslap.xtrweb.com/lap/pruebconf.php",
"signature": "32BFC4362F94D84E7229FF183ED11281",
"shippingAddress": {
"country": "PA"
},
"buyer": {
"fullName": "APPROVED",
"emailAddress": "te...@payulatam.com",
"dniNumber": "1155255887",
"shippingAddress": {
"street1": "Calle 93 B 17 – 25",
"city": "Panama",
"state": "Panama",
"country": "PA",
"postalCode": "000000",
"phone": "5582254"
}
},
"additionalValues": {
"TX_VALUE": {
"value": 5,
"currency": "USD"
}
}
},
"creditCard": {
"number": "4111111111111111",
"securityCode": "123",
"expirationDate": "2018/08",
"name": "APPROVED"
},
"type": "AUTHORIZATION_AND_CAPTURE",
"paymentMethod": "VISA",
"paymentCountry": "PA",
"payer": {
"fullName": "APPROVED",
"emailAddress": "te...@payulatam.com"
},
"ipAddress": "127.0.0.1",
"cookie": "cookie_52278879710130",
"userAgent": "Firefox",
"extraParameters": {
"INSTALLMENTS_NUMBER": 1,
"RESPONSE_URL": "http://www.misitioweb.com/respuesta.php"
}
},
"test": true
}
curl -H "Content-Type: application/json" -H "Accept: application/json" -X POST --data-binary @body.json https://sandbox.api.payulatam.com/payments-api/4.0/service.cgi
{"code":"SUCCESS","error":null,"transactionResponse":{"orderId":7347733,"transactionId":"c0c4a91d-963d-45e7-8fa0-19965830c6cf","state":"ERROR","paymentNetworkResponseCode":null,"paymentNetworkResponseErrorMessage":null,"trazabilityCode":null,"authorizationCode":null,"pendingReason":null,"responseCode":"PAYMENT_NETWORK_NO_RESPONSE","errorCode":"PAYMENT_NETWORK_NO_RESPONSE","responseMessage":"After [50] secs. no response was received from the financial entity","transactionDate":null,"transactionTime":null,"operationDate":null,"referenceQuestionnaire":null,"extraParameters":null}}
Could you please help in pointing out what I'm not doing correctly?
{
"language": "en",
"command": "SUBMIT_TRANSACTION",
"merchant": {
"apiLogin": "pRRXKOl8ikMmt9u",
"apiKey": "4Vj8eK4rloUd272L48hsrarnUA"
},
"transaction": {
"order": {
"accountId": "512326",
"referenceCode": "testPanama01",
"description": "Test order Panama",
"language": "en",
"notifyUrl": "http://pruebaslap.xtrweb.com/lap/pruebconf.php",
"signature": "9F263EB48200C5DEBAAF8FF5BDCDFED9",
"shippingAddress": {
"country": "PA"
},
"buyer": {
"fullName": "APPROVED",
"emailAddress": "te...@payulatam.com",
"dniNumber": "1155255887",
"shippingAddress": {
"street1": "Calle 93 B 17 – 25",
"city": "Panama",
"state": "Panama",
"country": "PA",
"postalCode": "000000",
"phone": "5582254"
}
},
"additionalValues": {
"TX_VALUE": {
"value": 5,
"currency": "USD"
}
}
},
"creditCard": {
"number": "5500000000000004",
"securityCode": "123",
"expirationDate": "2018/08",
"name": "APPROVED"
},
"type": "AUTHORIZATION_AND_CAPTURE",
"paymentMethod": "MASTERCARD",
"paymentCountry": "PA",
"payer": {
"fullName": "APPROVED",
"emailAddress": "te...@payulatam.com"
},
"ipAddress": "127.0.0.1",
"cookie": "cookie_52278879710130",
"userAgent": "Firefox",
"extraParameters": {
"INSTALLMENTS_NUMBER": 1,
"RESPONSE_URL": "http://www.misitioweb.com/respuesta.php"
}
},
"test": true
}
curl -H "Content-Type: application/json" -H "Accept: application/json" -X POST --data-binary @body.json https://sandbox.api.payulatam.com/payments-api/4.0/service.cgi
{
"code": "SUCCESS",
"error": null,
"transactionResponse": {
"orderId": 7348796,
"transactionId": "16031747-128e-4f43-8f8c-eda1cb65a1a2",