linkParms.setValue("M_localLocale", UtilHttp.getLocale(request).toString());
linkParms.setValue("M_confirmTemplate", confirmTemplate != null ? confirmTemplate : "");
// redirect to worldpay
try {
response.sendRedirect(link.produce());
} catch (IOException e) {
Debug.logError(e, "Problems redirecting to Worldpay", module);
request.setAttribute("_ERROR_MESSAGE_", "<li>Problems connecting with WorldPay, please contact customer service.");
return "error";
}