Author: jacopoc
Date: Tue May 22 01:38:25 2007
New Revision: 540479
URL:
http://svn.apache.org/viewvc?view=rev&rev=540479Log:
The processOrderPayments service is now triggered every time the resetGrandTotal service is executed.
Modified:
ofbiz/trunk/applications/order/servicedef/secas.xml
Modified: ofbiz/trunk/applications/order/servicedef/secas.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/servicedef/secas.xml?view=diff&rev=540479&r1=540478&r2=540479==============================================================================
--- ofbiz/trunk/applications/order/servicedef/secas.xml (original)
+++ ofbiz/trunk/applications/order/servicedef/secas.xml Tue May 22 01:38:25 2007
@@ -94,15 +94,9 @@
<action service="resetGrandTotal" mode="sync"/>
<action service="sendOrderChangeNotification" mode="async" persist="true"/>
</eca>
- <eca service="updateOrderItems" event="return">
- <action service="processOrderPayments" mode="sync"/>
- </eca>
<eca service="appendOrderItem" event="commit">
<action service="resetGrandTotal" mode="sync"/>
</eca>
- <eca service="appendOrderItem" event="return">
- <action service="processOrderPayments" mode="sync"/>
- </eca>
<!-- cancel order items -->
<eca service="cancelOrderItem" event="commit">
@@ -110,10 +104,12 @@
<action service="resetGrandTotal" mode="sync"/>
<action service="sendOrderChangeNotification" mode="async" persist="true"/>
</eca>
- <eca service="cancelOrderItem" event="return">
+
+ <!-- order grand total -->
+ <eca service="resetGrandTotal" event="return">
<action service="processOrderPayments" mode="sync"/>
</eca>
-
+
<!-- order confirmation/notification email ECAs -->
<eca service="sendOrderConfirmation" event="commit">
<action service="createOrderNotificationLog" mode="sync"/>