Skip to content
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

Officialize new taxation system #3354

Merged

Conversation

kennyadsl
Copy link
Member

@kennyadsl kennyadsl commented Sep 26, 2019

Description

Ref: #1892

We should have probably done this long time ago, but I think we should start deprecating methods that we don't want to see anymore in stores and extensions.

Having the new way for calculating order taxes marked as experimental added some further confusion we can easily remove.

Note

  • I expect the CI to fail in the first run, at least for the test of the now deprecated Spree::TaxRate#adjust method. I hope it will show us also other places where we are eventually using it and I missed.

Checklist:

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • [ ] I have updated Guides and README accordingly to this change (if needed)
  • [ ] I have added tests to cover this change (if needed)

@kennyadsl kennyadsl self-assigned this Sep 26, 2019
We are not using this method in the codebase and now we have
Spree::Tax::OrderAdjuster class which takes care of applying
taxes to an order. That's the new default way and we should
start printing a notice into apps/extensions that are still
using the old way.
@kennyadsl kennyadsl force-pushed the kennyadsl/deprecate-tax-rate-adjust branch from 8fa5121 to 486db3a Compare September 26, 2019 13:24
Copy link
Member

@spaghetticode spaghetticode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kennyadsl makes sense, thank you 👍

Copy link
Contributor

@ericsaupe ericsaupe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@kennyadsl kennyadsl merged commit 7693dbf into solidusio:master Oct 17, 2019
@kennyadsl kennyadsl deleted the kennyadsl/deprecate-tax-rate-adjust branch October 17, 2019 12:34
DanielePalombo added a commit to nebulab/solidus that referenced this pull request Nov 13, 2020
in favour of Spree::Tax::orderAdjuster#adjust!

solidusio#3354
kennyadsl pushed a commit to nebulab/solidus that referenced this pull request Nov 17, 2020
in favour of Spree::Tax::orderAdjuster#adjust!

solidusio#3354
kennyadsl pushed a commit to nebulab/solidus that referenced this pull request Nov 19, 2020
in favour of Spree::Tax::orderAdjuster#adjust!

solidusio#3354
kennyadsl pushed a commit to nebulab/solidus that referenced this pull request Nov 27, 2020
in favour of Spree::Tax::orderAdjuster#adjust!

solidusio#3354
kennyadsl pushed a commit to nebulab/solidus that referenced this pull request Nov 27, 2020
in favour of Spree::Tax::orderAdjuster#adjust!

solidusio#3354
kennyadsl pushed a commit to nebulab/solidus that referenced this pull request Dec 9, 2020
in favour of Spree::Tax::orderAdjuster#adjust!

solidusio#3354
kennyadsl pushed a commit to nebulab/solidus that referenced this pull request Dec 10, 2020
in favour of Spree::Tax::orderAdjuster#adjust!

solidusio#3354
DanielePalombo added a commit to nebulab/solidus that referenced this pull request Dec 11, 2020
in favour of Spree::Tax::orderAdjuster#adjust!

solidusio#3354
kennyadsl pushed a commit to nebulab/solidus that referenced this pull request Dec 15, 2020
in favour of Spree::Tax::orderAdjuster#adjust!

solidusio#3354
DanielePalombo added a commit to nebulab/solidus that referenced this pull request Dec 18, 2020
in favour of Spree::Tax::orderAdjuster#adjust!

solidusio#3354
kennyadsl pushed a commit to nebulab/solidus that referenced this pull request Dec 21, 2020
in favour of Spree::Tax::orderAdjuster#adjust!

solidusio#3354
kennyadsl pushed a commit to nebulab/solidus that referenced this pull request Jan 19, 2021
in favour of Spree::Tax::orderAdjuster#adjust!

solidusio#3354
kennyadsl pushed a commit to nebulab/solidus that referenced this pull request Jan 28, 2021
in favour of Spree::Tax::orderAdjuster#adjust!

solidusio#3354
kennyadsl pushed a commit to nebulab/solidus that referenced this pull request Jan 28, 2021
in favour of Spree::Tax::orderAdjuster#adjust!

solidusio#3354
rmparr pushed a commit to rmparr/solidus that referenced this pull request Jun 1, 2022
in favour of Spree::Tax::orderAdjuster#adjust!

solidusio#3354
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants