diff --git a/applications/accounting/src/org/ofbiz/accounting/payment/PaymentGatewayServices.java b/applications/accounting/src/org/ofbiz/accounting/payment/PaymentGatewayServices.java index 3b16f69f29..c4dd198a8b 100644 --- a/applications/accounting/src/org/ofbiz/accounting/payment/PaymentGatewayServices.java +++ b/applications/accounting/src/org/ofbiz/accounting/payment/PaymentGatewayServices.java @@ -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"); } }