private function needToSubtractShippingTax() { if (!$this->proxyOrder->isTaxModeChannel() && !$this->proxyOrder->isTaxModeMixed()) { return false; } if (!$this->proxyOrder->isShippingPriceIncludesTax()) { return false; } /** @var $storeConfigurator Ess_M2ePro_Model_Magento_Quote_Store_Configurator */ $storeConfigurator = Mage::getModel('M2ePro/Magento_Quote_Store_Configurator', $this); $storeShippingTaxRate = $storeConfigurator->getStoreShippingTaxRate($this->quote->getStore()); return $this->proxyOrder->getTaxRate() != $storeShippingTaxRate; }