return failure instead of error if a payment method does not have a payment setting, such as paypal, when doing a refund.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@614118 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
+1
-1
@@ -2264,7 +2264,7 @@ public class PaymentGatewayServices {
|
||||
return ServiceUtil.returnError("No refund service defined");
|
||||
}
|
||||
} else {
|
||||
return ServiceUtil.returnError("No payment settings found");
|
||||
return ServiceUtil.returnFailure("No payment settings found");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user