Skip to content

[ECP-9225] Use Magento_Tax module to build open invoice line items#2651

Merged
candemiralp merged 64 commits intomainfrom
ECP-9225
Feb 18, 2025
Merged

[ECP-9225] Use Magento_Tax module to build open invoice line items#2651
candemiralp merged 64 commits intomainfrom
ECP-9225

Conversation

@RokPopov
Copy link
Contributor

@RokPopov RokPopov commented Jun 7, 2024

Description
After multiple attempts of addressing the issues with open invoice line items not reflecting the correct values, the idea behind this PR is to deprecate the methods in the plugin responsible for tax line item calculations and use Magento_Tax module to get display prices instead.

Tested scenarios
Different tax configurations:

  • No tax
  • Different tax rates
  • Prices including tax
  • Prices excluding tax
  • Apply tax on original price before discount
  • Apply tax on discounted price
  • No shipping charges
  • Flat rate shipping
  • Shipping tax configurations (including/excluding tax)
  • Discount set with cart marketing rule

Fixes #2580

@sonarqubecloud
Copy link

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 8, 2025

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Fix Indicates a bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ECP-9133][ECP-9225] Unable to place an order with discount code using Klarna

4 participants