diff --git a/core/app/models/spree/payment_method.rb b/core/app/models/spree/payment_method.rb index ead6c70d5bc..c74bb03701e 100644 --- a/core/app/models/spree/payment_method.rb +++ b/core/app/models/spree/payment_method.rb @@ -68,7 +68,7 @@ def find_sti_class(type_name) raise UnsupportedPaymentMethod, "Found invalid payment type '#{type_name}'.\n"\ "This may happen after switching payment service provider, when payment methods "\ "reference old types that are not supported any more.\n"\ - "If that is the case, consider running 'rake payment_method:deprecate_unsupported_payment_methods' "\ + "If that is the case, consider running 'rake payment_method:deactivate_unsupported_payment_methods' "\ "to fix the issue." end end