To abort an ongoing transaction the application should just drop the connection with the terminal. The following code line is an expected example.
txAbort
Supported on PayDroid terminals only, not compatible with Prolin devices
socket.close()
When the application side drops the connection, the transaction gets aborted. If the transaction has been sent to the server an automatic system reversal of the aborted transaction will follow up.
Get Support
If you would like to integrate with Viva, or if you have any queries about our products and solutions, please see our Contact & Support page to see how we can help!
jhkjh