set currencies for authorization and captures

git-svn-id: https://svn.apache.org/repos/asf/incubator/ofbiz/trunk@433422 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Si Chen
2006-08-21 23:22:34 +00:00
parent 5bd4f387a0
commit 71a56a8301
@@ -849,6 +849,7 @@ public class CheckOutHelper {
authCtx.put("authRefNum", opp.getString("manualRefNum"));
authCtx.put("authResult", Boolean.TRUE);
authCtx.put("userLogin", userLogin);
authCtx.put("currencyUomId", cart.getCurrency());
Map authResp = dispatcher.runSync("processAuthResult", authCtx);
if (authResp != null && ServiceUtil.isError(authResp)) {
@@ -869,6 +870,7 @@ public class CheckOutHelper {
captCtx.put("captureAmount", opp.getDouble("maxAmount"));
captCtx.put("captureRefNum", opp.getString("manualRefNum"));
captCtx.put("userLogin", userLogin);
captCtx.put("currencyUomId", cart.getCurrency());
Map capResp = dispatcher.runSync("processCaptureResult", captCtx);
if (capResp != null && ServiceUtil.isError(capResp)) {