[TII-60772] Made code changes to catch the exception for sale/refund transaction when the response from ESB/Verifone is not properly formatted and to set the same purchase id when the payment is again applied after this exception. The assumption is that since the same purchase id is set after the exception there won't be any duplicate charges applied on the Verifone side.