<BUG>private static void parseRefundResponse(String resp, Map result, String resource) {Map parameters = new LinkedMap();</BUG><CONTEXT>}result.put("releaseRefNum", parameters.get("PNREF"));result.put("releaseFlag", parameters.get("RESULT"));result.put("releaseMessage", parameters.get("RESPMSG"));}<extra_id_0>List params = StringUtil.split(resp, "&");Iterator i = params.iterator();while (i.hasNext()) {</CONTEXT>
result.put("cvCode", cvvCode);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();