[Fix]: In order to know if a transaction was successful or not, the response code should be checked against 20000 and not the status code.
[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 .
Merge pull request #4 from yalnazov/master

[Fix]: In order to know if a transaction was successful or not, the resp...