svn commit: r554316 - /ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/payment/PaymentGatewayServices.java

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

svn commit: r554316 - /ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/payment/PaymentGatewayServices.java

lektran
Author: lektran
Date: Sat Jul  7 22:45:18 2007
New Revision: 554316

URL: http://svn.apache.org/viewvc?view=rev&rev=554316
Log:
Applied fix from trunk for revision: 550570

Modified:
    ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/payment/PaymentGatewayServices.java

Modified: ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/payment/PaymentGatewayServices.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/payment/PaymentGatewayServices.java?view=diff&rev=554316&r1=554315&r2=554316
==============================================================================
--- ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/payment/PaymentGatewayServices.java (original)
+++ ofbiz/branches/release4.0/applications/accounting/src/org/ofbiz/accounting/payment/PaymentGatewayServices.java Sat Jul  7 22:45:18 2007
@@ -147,10 +147,9 @@
 
         // if our transaction amount exists and is zero, there's nothing to process, so return
         if ((transAmount != null) && (transAmount.doubleValue() <= 0)) {
-            // prepare the return map (always return success, default finished=false, default errors=false
             Map results = ServiceUtil.returnSuccess();
-            results.put("finished", Boolean.FALSE);
-            results.put("errors", Boolean.FALSE);
+            results.put("finished", Boolean.TRUE); // finished is true since there is nothing to do
+            results.put("errors", Boolean.FALSE); // errors is false since no error occured
             return results;
         }