Skip to content

Commit

Permalink
Fix deactivate_unsupported_payment_methods name
Browse files Browse the repository at this point in the history
In the doc printed when it's needed, we had a typo, probably due to some back and forth on the PR that introduced the change. 

See #3837
  • Loading branch information
kennyadsl authored Oct 25, 2023
1 parent d479d6a commit f0bd4c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/app/models/spree/payment_method.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f0bd4c6

Please sign in to comment.