Debug.logError(e, module);
sendResponse(response, serialNumber, e);
return null;
}
} else if ("chargeback-amount-notification".equals(nodeValue)) {
ChargebackAmountNotification info = new ChargebackAmountNotification(document);
String serialNumber = info.getSerialNumber();
try {
helper.processChargeBackNotification(info);
sendResponse(response, serialNumber, null);
} catch (GeneralException e) {
Debug.logError(e, module);
sendResponse(response, serialNumber, e);
return null;
}
} else if ("refund-amount-notification".equals(nodeValue)) {
RefundAmountNotification info = new RefundAmountNotification(document);
String serialNumber = info.getSerialNumber();
try {
helper.processRefundNotification(info);
sendResponse(response, serialNumber, null);
} catch (GeneralException e) {
Debug.logError(e, module);