svn commit: r496866 - /ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutHelper.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r496866 - /ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutHelper.java

byersa-3
Author: byersa
Date: Tue Jan 16 13:38:59 2007
New Revision: 496866

URL: http://svn.apache.org/viewvc?view=rev&rev=496866
Log:
Changing "force new transaction" parameter in "authOrderPayments" service call from "true" to "false".
Was causing the OrderHeader in above call to "createOrder" not to be found in "authOrderPayments" because it
had not been committed in its transaction.

Modified:
    ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutHelper.java

Modified: ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutHelper.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutHelper.java?view=diff&rev=496866&r1=496865&r2=496866
==============================================================================
--- ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutHelper.java (original)
+++ ofbiz/trunk/applications/order/src/org/ofbiz/order/shoppingcart/CheckOutHelper.java Tue Jan 16 13:38:59 2007
@@ -896,7 +896,7 @@
             try {
                 // invoke the payment gateway service.
                 paymentResult = dispatcher.runSync("authOrderPayments",
-                        UtilMisc.toMap("orderId", orderId, "userLogin", userLogin), 180, true);
+                        UtilMisc.toMap("orderId", orderId, "userLogin", userLogin), 180, false);
             } catch (GenericServiceException e) {
                 Debug.logWarning(e, module);
                 throw new GeneralException("Error in authOrderPayments service: " + e.toString(), e.getNested());