setRequestParameters();
Order order = this.getMendozaState().getOrder();
if (amountToRefund < 0) {
order.refund(reason, comment);
} else {
order.refund(new BigDecimal(amountToRefund), reason, comment);
}
result.setSuccess(commandResultMsg);
} catch (RuntimeException e) {
commandResultMsg = e.getMessage();
result.setError(commandResultMsg);