Sale Transaction: "responseCodeMessage": "Communication error" στο VPOS

Προσπαθούμε να υλοποιησουμε την κλήση sale και οταν το transactionData περιέχει τα properties σχετικα με τον πάροχο λαμβάνω "responseCodeMessage": "Communication error".
σας παραθέτω το json που αποτυνχάνει
{
"serviceData": {
"host": "virtualpos.services.novidea.gr",
"port": "4000",
"ecrid": "8587345"
},
"transactionData": {
"firstByteOriginalTrans": "0",
"uniqueTxnId": "a01584931a9a4e324d19afad452ea74a",
"uniqueIntegratorId": "5184300787884143bd6017b98318176a",
"amount": "4.01",
"signature": "MEYCIQDKnNA0Dh2sxhALAuT6gfu8TafGHq2XRhgxkAATxweAIQIhANMhzN3Ps/UyOWqpJq/0nATaO/QVrhuLnGQQFSALEwsz",
"providersId": "1122",
"uniqueEntryNumber": "",
"uid": "602BCBDAC1F116477A99C76468D6FB1A49E8B981",
"dateTimeProviderSignature": "20240520105025",
"amountPayable": "4.01",
"netValue": "3.78",
"vatValue": "0.23",
"totalValue": "4.01",
"eftTerminalId": "8587345",
"posId": "8587345",
"ecrId": "8587345"
}
}

ενω το παρακάτω απαντά Approved :

{
"serviceData": {
"host": "virtualpos.services.novidea.gr",
"port": "4000",
"ecrid": "8587345"
},
"transactionData": {
"firstByteOriginalTrans": "0",
"uniqueTxnId": "a01584931a9a4e324d19afad452ea74a",
"uniqueIntegratorId": "5184300787884143bd6017b98318176a",
"amount": "4.01",

"eftTerminalId": "8587345",
"posId": "8587345",
"ecrId": "8587345"
}
}

τελος σας επισυνάπτω το log

2024-05-20 11:08:09,613 DEBUG [HikariPool-1 housekeeper] c.z.h.pool.HikariPool 421] HikariPool-1 - Pool stats (total=10, active=0, idle=10, waiting=0)
2024-05-20 11:08:09,613 DEBUG [HikariPool-1 housekeeper] c.z.h.pool.HikariPool 518] HikariPool-1 - Fill pool skipped, pool is at sufficient level.
2024-05-20 11:08:17,933 INFO [http-nio-9090-exec-4] c.s.e.c.SimpleFunctional 70] Trxn 44: Sale transaction
2024-05-20 11:08:17,933 DEBUG [http-nio-9090-exec-4] c.s.e.c.SimpleFunctional 76] Trxn 44: Service data is {host=virtualpos.services.novidea.gr, port=4000, ecrid=8587345}
2024-05-20 11:08:17,933 DEBUG [http-nio-9090-exec-4] c.s.e.c.SimpleFunctional 77] Trxn 44: Transaction data is {firstByteOriginalTrans=0, uniqueTxnId=a01584931a9a4e324d19afad452ea74a, uniqueIntegratorId=5184300787884143bd6017b98318176a, amount=4.01, signature=MEYCIQDKnNA0Dh2sxhALAuT6gfu8TafGHq2XRhgxkAATxweAIQIhANMhzN3Ps/UyOWqpJq/0nATaO/QVrhuLnGQQFSALEwsz, providersId=1122, uniqueEntryNumber=, uid=602BCBDAC1F116477A99C76468D6FB1A49E8B981, dateTimeProviderSignature=20240520105025, amountPayable=4.01, netValue=3.78, vatValue=0.23, totalValue=4.01, eftTerminalId=8587345, posId=8587345, ecrId=8587345}
2024-05-20 11:08:17,934 DEBUG [http-nio-9090-exec-4] c.s.e.c.SimpleFunctional 154] Trxn 44: The request is valid
2024-05-20 11:08:17,934 DEBUG [http-nio-9090-exec-4] c.s.e.p.TransactionProcessing 116] Trxn 44: Connect to POS
2024-05-20 11:08:18,016 DEBUG [http-nio-9090-exec-4] c.s.e.p.TransactionProcessing 120] Trxn 44: Get sessionId
2024-05-20 11:08:18,017 DEBUG [http-nio-9090-exec-4] c.s.e.p.TransactionProcessing 46] Trxn 44: wait response from terminal...
2024-05-20 11:08:18,132 DEBUG [http-nio-9090-exec-4] c.s.e.p.TransactionProcessing 54] Trxn 44: 0014|810|00|000110
2024-05-20 11:08:18,132 DEBUG [http-nio-9090-exec-4] c.s.e.p.TransactionProcessing 129] Trxn 44: SessionId is received = 000110
2024-05-20 11:08:18,132 DEBUG [http-nio-9090-exec-4] c.s.e.p.TransactionProcessing 104] Trxn 44: Send data to POS : 0030|000110|800|40|WEB6.2.0|060200
2024-05-20 11:08:18,133 DEBUG [http-nio-9090-exec-4] c.s.e.p.TransactionProcessing 46] Trxn 44: wait response from terminal...
2024-05-20 11:08:18,241 DEBUG [http-nio-9090-exec-4] c.s.e.p.TransactionProcessing 54] Trxn 44: 0014|000110|810|40
2024-05-20 11:08:18,241 DEBUG [http-nio-9090-exec-4] c.s.e.p.TransactionProcessing 109] Trxn 44: Response received : 0014|000110|810|40
2024-05-20 11:08:18,241 DEBUG [http-nio-9090-exec-4] c.s.e.p.TransactionProcessing 104] Trxn 44: Send data to POS : 0290|000110|200|00|a01584931a9a4e324d19afad452ea74a|4.01|0000|||||||||602BCBDAC1F116477A99C76468D6FB1A49E8B981||20240520105025|4.01|3.78|0.23|4.01|8587345|||1122|||MEYCIQDKnNA0Dh2sxhALAuT6gfu8TafGHq2XRhgxkAATxweAIQIhANMhzN3Ps/UyOWqpJq/0nATaO/QVrhuLnGQQFSALEwsz||5184300787884143bd6017b98318176a
2024-05-20 11:08:18,242 DEBUG [http-nio-9090-exec-4] c.s.e.p.TransactionProcessing 46] Trxn 44: wait response from terminal...
2024-05-20 11:08:18,351 DEBUG [http-nio-9090-exec-4] c.s.e.p.TransactionProcessing 54] Trxn 44: 0166|000110|610|20|CE|Communication error|||||||||||||||0000|77618446|0101118297|1640000000|DEMO TEST CARDLINK|AGIOY KONSTANTINOY 50 MAROYSI|AMAROYSION|2106100676||||||||
2024-05-20 11:08:18,351 DEBUG [http-nio-9090-exec-4] c.s.e.p.TransactionProcessing 109] Trxn 44: Response received : 0166|000110|610|20|CE|Communication error|||||||||||||||0000|77618446|0101118297|1640000000|DEMO TEST CARDLINK|AGIOY KONSTANTINOY 50 MAROYSI|AMAROYSION|2106100676||||||||
2024-05-20 11:08:18,351 INFO [http-nio-9090-exec-4] c.s.e.c.SimpleFunctional 232] Trxn 44: Transaction is finished RC=CE
2024-05-20 11:08:39,626 DEBUG [HikariPool-1 housekeeper] c.z.h.pool.HikariPool 421] HikariPool-1 - Pool stats (total=10, active=0, idle=10, waiting=0)
2024-05-20 11:08:39,626 DEBUG [HikariPool-1 housekeeper] c.z.h.pool.HikariPool 518] HikariPool-1 - Fill pool skipped, pool is at sufficient level.
2024-05-20 11:09:09,636 DEBUG [HikariPool-1 housekeeper] c.z.h.pool.HikariPool 421] HikariPool-1 - Pool stats (total=10, active=0, idle=10, waiting=0)
2024-05-20 11:09:09,636 DEBUG [HikariPool-1 housekeeper] c.z.h.pool.HikariPool 518] HikariPool-1 - Fill pool skipped, pool is at sufficient level.

1 Comment

Καλημέρα σας, 


Σε αυτή την περίπτωση θα πρέπει να γίνει συνδυαστικό call.