Transaction Recovery

Point-Of-Sale Crash Recovery

In the event of a POS crash during a transaction Spice will continue to process the transaction. The adaptor will save the transaction information. When the POS restarts it can then query the adaptor for the outcome of the last transaction and recover.

Sequence Diagram


Spice Crash Recovery

In the event that Spice crashes during a transaction the POS will receive an unexpected HTTP termination. When the adaptor is restarted it will automatically recover its connection with the EFTPOS terminal and the transaction that was in progress. The POS is required to send a HTTP GET response to the adaptor to recover the outcome of the transaction. It is recommended that this happens automatically on a loop until the adaptor is restarted and a response is returned.

Sequence Diagram