This method is called from the POS application library after the payment application has finished processing a transaction.