data.put("STREET", street);
data.put("ZIP", ps.getString("postalCode"));
}
PFProAPI pn = init(configString);
// get the base params
StringBuffer params = makeBaseParams(configString);
// parse the context parameters
params.append("&").append(parseContext(data));
// transmit the request
if (Debug.verboseOn()) Debug.logVerbose("Sending to Verisign: " + params.toString(), module);
String resp;
if (!UtilProperties.propertyValueEqualsIgnoreCase(configString, "payment.verisign.enable_transmit", "false")) {
resp = pn.SubmitTransaction(params.toString());
} else {
resp = "RESULT=0&AUTHCODE=T&PNREF=" + (new Date()).getTime() + "&RESPMSG=Testing";
}
if (Debug.verboseOn()) Debug.logVerbose("Response from Verisign: " + resp, module);
// reset for next use
pn.DestroyContext();
// check the response
Map result = ServiceUtil.returnSuccess();
parseAuthResponse(resp, result, configString, isReAuth);
result.put("processAmount", processAmount);