Skip to content

Commit

Permalink
Merge pull request #5458 from solidusio/kennyadsl/fix-deactivation-pa…
Browse files Browse the repository at this point in the history
…yment-name

Fix deactivate_unsupported_payment_methods name
  • Loading branch information
kennyadsl authored Oct 25, 2023
2 parents c068fd5 + f0bd4c6 commit a0103b7
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 a0103b7

Please sign in to comment.