-
-
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
Allow to set order_update_attributes_class #4955
Allow to set order_update_attributes_class #4955
Conversation
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, @tvdeyen. Left a suggestion to improve consistency.
@tvdeyen Hey Thomas, any chance to look at Marc's comment above? Let us know if we can help moving this forward, |
@kennyadsl sure, I can do that. Thanks for the reminder 😁 |
f3cbb4f
to
e4a2b21
Compare
Codecov Report
@@ Coverage Diff @@
## master #4955 +/- ##
===========================================
- Coverage 85.88% 34.31% -51.57%
===========================================
Files 533 123 -410
Lines 13225 4292 -8933
===========================================
- Hits 11358 1473 -9885
- Misses 1867 2819 +952
... and 566 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@tvdeyen, rebasing from master should fix CI |
Allows providing your own order update attributes class for checkout.
e4a2b21
to
8ac56e9
Compare
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 @tvdeyen!
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.
💯
Summary
Allows providing your own order update attributes class for checkout.
Some shops may have additional attributes on payments that needs to be store during
checkout. This allows to provide a class that responds to "apply" with the same signature as Spree::OrderUpdateAttributes
Checklist
Check out our PR guidelines for more details.
The following are mandatory for all PRs:
The following are not always needed: