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:
Jacques Le Roux
2008-07-05 19:07:26 +00:00
parent 4bd597df22
commit 6f3e2d767d
@@ -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;
}