Closed phannsokha closed 5 months ago
Hi!
Yes we can. The reason is this curl command has an outdated value for field 7 (Transmission Date and Time).
The format is descibed here: https://github.com/juks/iso-8583-socket-queue/blob/master/lib/iso8583/lib/packager/smartVista.js#L323
Dear, I try to curl -H "Content-Type: application/json" -X POST -d '{ "0": "0200", "3": "0", "4": 1000, "7": "0818160933", "11": 618160, "12": "150820130600", "22": "056", "24": "200", "25": "00", "35": "4850781234567891=19082012232800000037", "41": 992468, "42": 124642124643, "49": "810", "55": "9f2608571f1e10d4fa4aac9f2701809f100706010a03a4b8029f37045bb074729f3602000c950500800010009a031508189c01009f02060000000010005f2a02064382023c009f1a0206439f03060000000000009f3303e0f0c89f34034403029f3501229f1e0835313230323831358407a00000000310109f41030000565f340101" }' http://localhost:8080
I always got error below :
2024-01-22 10:56:28 - : [33mClient http:::1:37760 event[39m
2024-01-22 10:56:44 - : New HTTP socket
2024-01-22 10:56:44 - : [33mClient http:::1:37764 connected[39m
2024-01-22 10:56:44 - : [33mClient http:::1:37764 sent data[39m
2024-01-22 10:56:44 - : [31mhttp:::1:37764: Warning! Iso8583 packet is expired. Won't queue!
================================================================================================
[39m event[39m
2024-01-22 10:56:44 - : [33mClient http:::1:37764
Can we resovle that issue?