getRunBusiness(iwc).doPayment(nameOnCard, cardNumber, expiresMonth, expiresYear, ccVerifyNumber, amount, isIcelandic ? "ISK" : "EUR", new IWTimestamp().toString());
String properties = getRunBusiness(iwc).authorizePayment(nameOnCard, cardNumber, expiresMonth, expiresYear, ccVerifyNumber, amount, isIcelandic ? "ISK" : "EUR", new IWTimestamp().toString());
	private void save(IWContext iwc) throws RemoteException {		try {			String nameOnCard = iwc.getParameter(PARAMETER_NAME_ON_CARD);			String cardNumber = "";			for (int i = 1; i <= 4; i++) {				cardNumber += iwc.getParameter(PARAMETER_CARD_NUMBER + "_" + i);			}			String hiddenCardNumber = "XXXX-XXXX-XXXX-" + iwc.getParameter(PARAMETER_CARD_NUMBER + "_" + 4);			String expiresMonth = iwc.getParameter(PARAMETER_EXPIRES_MONTH);			String expiresYear = iwc.getParameter(PARAMETER_EXPIRES_YEAR);			String ccVerifyNumber = iwc.getParameter(PARAMETER_CCV);			String email = iwc.getParameter(PARAMETER_CARD_HOLDER_EMAIL);			double amount = Double.parseDouble(iwc.getParameter(PARAMETER_AMOUNT));			IWTimestamp paymentStamp = new IWTimestamp();						Collection runners = ((Map) iwc.getSessionAttribute(SESSION_ATTRIBUTE_RUNNER_MAP)).values();			getRunBusiness(iwc).doPayment(nameOnCard, cardNumber, expiresMonth, expiresYear, ccVerifyNumber, amount, isIcelandic ? "ISK" : "EUR", new IWTimestamp().toString());			Collection participants = getRunBusiness(iwc).saveParticipants(runners, email, hiddenCardNumber, amount, paymentStamp, iwc.getCurrentLocale());			iwc.removeSessionAttribute(SESSION_ATTRIBUTE_RUNNER_MAP);						showReceipt(iwc, participants, amount, hiddenCardNumber, paymentStamp);		}		catch (IDOCreateException ice) {			getParentPage().setAlertOnLoad(localize("run_reg.save_failed", "There was an error when trying to finish registration.  Please contact the marathon.is office."));			ice.printStackTrace();			stepSix(iwc);		}		catch (CreditCardAuthorizationException ccae) {			getParentPage().setAlertOnLoad(localize("run_reg.payment_failed", "There was an error when trying to finish registration.  Make sure that all credit card information is correct and try again."));			ccae.printStackTrace();			stepSix(iwc);		}	}