PHOENIX-MEDIA / Magento2-CashOnDelivery

Cash on Delivery allows you to book an additional fee for inland and international deliveries
7 stars 13 forks source link

COD tax is being added to the tax but not being calculated in the grand total #22

Open rehantoday opened 4 years ago

rehantoday commented 4 years ago

I'm facing this strange issue when I'm using this Phoenix COD module with Magento 2.1.16

The 5% tax of COD (fixed: 50) is being calculated (incorrectly) and is being added to the "VAT 5%" but it is not being added in the Grand Total.

Example:

Product price after discount: $11 Tax (5%): $0.55 Total: $11.55

COD: $13.33 Tax (5%): %0.66 Total: $13.99

So, grand total should, $11.55 + $13.99 = $25.44 and Tax should be: $0.55 + $0.66 = $1.21

What could be causing this and how can I fix this?

Screenshot (70)