Hi Team,
We are doing void tender during a refund transaction, it is showing tender void response as successful. But refund transaction is not being deleted from cloud transactions.
Below is the request and response for the flow :
REFUND REQUEST : {"orderId":"QXV2N9492J9BE","paymentId":"40JCPE3TA42DT","amount":849,"fullRefund":true}
RESPONSE :: success : true, result : SUCCESS, reason : null, Message : null
Payment ID : 40JCPE3TA42DT, Order ID : QXV2N9492J9BE, Refund Info : Refund{json='{"clientCreatedTime":1527509680765,"amount":849,"createdTime":1527509680765,"payment":{"id":"40JCPE3TA42DT"},"id":"0SEYGBT9T4J8W","taxAmount":null,
"employee":{"id":null}}', bundle=null, changeLog=null}
TENDER VOID REQUEST : {"paymentId":"0SEYGBT9T4J8W","voidReason":"USER_CANCEL","employeeId":null,"orderId":"QXV2N9492J9BE"}
RESPONSE :: success : true, result : SUCCESS, reason : SUCCESS, Message : No extended information provided.
RESPONSE Payment info :: isSuccess : true, isAuth : false, isPreauth : false, isSale : false, Payment : null
When we do tender void in sale transactions , it deletes the payment transaction done from cloud transactions.
It should be similar for refund transactions or this is normal behavior?
Please clarify.
Thanks,
Devendra