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:
Si Chen
2008-01-22 05:06:35 +00:00
parent 92bc8e311e
commit c3ce43c637
@@ -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");
}
}