MessageHandler {
public String process(MerchantConstants mc, String notificationMsg)
throws CheckoutException {
try {
RefundAmountNotification notification =
new RefundAmountNotification(notificationMsg);
String ack = getAckString();
GoogleOrder order = GoogleOrder.findOrCreate(mc.getMerchantId(),
notification.getGoogleOrderNo());
order.addIncomingMessage(notification.getTimestamp(), notification
.getRootNodeName(), notification.getXmlPretty(), ack);
return ack;
} catch (Exception e) {
throw new CheckoutException(e);
}
}