[Fix]: In order to know if a transaction was successful or not, the status code should be checked against 'closed' and the response code should be checked against 20000 .