Author: ashish
Date: Thu Jan 27 11:27:22 2011
New Revision: 1064090
URL:
http://svn.apache.org/viewvc?rev=1064090&view=revLog:
Bug fix - Order Complete Mail is being sent to Customer when payment capture fails. Thanks Amit.
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?rev=1064090&r1=1064089&r2=1064090&view=diff==============================================================================
--- ofbiz/trunk/applications/order/servicedef/secas.xml (original)
+++ ofbiz/trunk/applications/order/servicedef/secas.xml Thu Jan 27 11:27:22 2011
@@ -87,7 +87,7 @@ under the License.
<action service="releaseOrderPayments" mode="sync"/>
<action service="processRefundReturnForReplacement" mode="sync"/>
</eca>
- <eca service="changeOrderStatus" event="commit" run-on-error="false">
+ <eca service="changeOrderStatus" event="global-commit" run-on-error="false">
<condition field-name="statusId" operator="equals" value="ORDER_COMPLETED"/>
<condition-field field-name="statusId" operator="not-equals" to-field-name="oldStatusId"/>
<action service="resetGrandTotal" mode="sync"/>