result.put("avsCode", avsCode);
result.put("authRefNum", parameters.get("PNREF"));
result.put("authFlag", parameters.get("RESULT"));
result.put("authMessage", parameters.get("RESPMSG"));
}
<BUG>private static void parseCaptureResponse(String resp, Map result, String resource) {
Map parameters = new LinkedMap();</BUG>
List params = StringUtil.split(resp, "&");
Iterator i = params.iterator();
while (i.hasNext()) {

result.put("avsCode", avsCode);
result.put("authRefNum", parameters.get("PNREF"));
result.put("authFlag", parameters.get("RESULT"));
result.put("authMessage", parameters.get("RESPMSG"));
}
private static void parseCaptureResponse(String resp, Map result) {
Map parameters = new LinkedMap();
List params = StringUtil.split(resp, "&");
Iterator i = params.iterator();
while (i.hasNext()) {
