-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change payment method partial name convention #3217
Change payment method partial name convention #3217
Conversation
I agree :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Absolutely. Thanks 🙏🏻
👍 This is definitely an improvement, but I do have some concerns: besides some failing specs that should be addressed, this may be a breaking change for some stores and/or extensions, as some partials will possibly need to be renamed? |
Once everyone agrees I'll fix the tests.
Yes |
I won’t consider this breaking, but a fix instead. The only difference is that a payment method name "Credit Card" would currently be |
No, it is 'gateway' already :) |
4c6242f
to
5683b20
Compare
5683b20
to
3d3b7d7
Compare
Anyway. This fix is good and appreciated. Thanks for the work. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I agree with @tvdeyen and this should be safe.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
I think we should at least mention in the CHANGELOG that if stores are overriding _storecredit
partials, they should rename them to _store_credit
. I will take care of that!
In recent version of Solidus (starting 2.9) the payment method naming convention changed, see: solidusio/solidus#3217
In recent version of Solidus (starting 2.9) the payment method naming convention changed, see: solidusio/solidus#3217
In recent version of Solidus (starting 2.9) the payment method naming convention changed, see: solidusio/solidus#3217
Hi!
I propose to use underscore in the name of the payment method partial. It is more convenient and clearer. What do you think, guys?