Checking amount not needed at the begining of formatRefundTransactionNvps was moved to the bottom, related with the commint that fix the error on the commit fa036ded82aff512d262426e086e1209a827fc34