svn commit: r690158 - in /ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/transaction: CaptureTransaction.groovy ViewGatewayResponse.groovy

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

svn commit: r690158 - in /ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/transaction: CaptureTransaction.groovy ViewGatewayResponse.groovy

bibryam
Author: bibryam
Date: Fri Aug 29 02:22:46 2008
New Revision: 690158

URL: http://svn.apache.org/viewvc?rev=690158&view=rev
Log:
Fixed a bug reported by Rohit Sureka in JIRA Issue # OFBIZ-1938 "Credit card capture error".

Modified:
    ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/transaction/CaptureTransaction.groovy
    ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/transaction/ViewGatewayResponse.groovy

Modified: ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/transaction/CaptureTransaction.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/transaction/CaptureTransaction.groovy?rev=690158&r1=690157&r2=690158&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/transaction/CaptureTransaction.groovy (original)
+++ ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/transaction/CaptureTransaction.groovy Fri Aug 29 02:22:46 2008
@@ -20,6 +20,7 @@
 import org.ofbiz.base.util.UtilMisc;
 import org.ofbiz.entity.condition.EntityExpr;
 import org.ofbiz.entity.condition.EntityOperator;
+import org.ofbiz.entity.condition.EntityCondition;
 import org.ofbiz.entity.util.EntityUtil;
 
 orderId = context.orderId;
@@ -42,7 +43,7 @@
    context.paymentMethodType = paymentMethodType;
 }
 
-if (orderPaymentPrefrence) {
+if (orderPaymentPreference) {
     context.paymentTypeId = "CUSTOMER_PAYMENT";
 }
 

Modified: ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/transaction/ViewGatewayResponse.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/transaction/ViewGatewayResponse.groovy?rev=690158&r1=690157&r2=690158&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/transaction/ViewGatewayResponse.groovy (original)
+++ ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/transaction/ViewGatewayResponse.groovy Fri Aug 29 02:22:46 2008
@@ -28,6 +28,7 @@
 import org.ofbiz.base.util.UtilMisc;
 import org.ofbiz.entity.condition.EntityExpr;
 import org.ofbiz.entity.condition.EntityOperator;
+import org.ofbiz.entity.condition.EntityCondition;
 import org.ofbiz.entity.util.EntityUtil;
 
 // get this field first, it determines which purpose this script satisfies