Definitively better, from David's advice
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@674226 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
+1
-2
@@ -996,8 +996,7 @@ public class PaymentGatewayServices {
|
||||
|
||||
if (testOrderId == null || !allSameOrder) {
|
||||
Debug.logWarning("Attempt to settle Invoice #" + invoiceId + " which contained none/multiple orders", module);
|
||||
Map result = ServiceUtil.returnSuccess();
|
||||
result.put("processResult", "FAILED");
|
||||
Map result = ServiceUtil.returnFailure("Attempt to settle Invoice #" + invoiceId + " which contained none/multiple orders");
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user