Compatibility with Ebizmarts_SagePay
Created at: 5 Oct 2017 | Updated at: 12 Jul 2023
Under circumstances it can happen that orders processed through Ebizmarts_SagePay module will have VAT calculated again in the backend view of the order, after the order was placed without VAT.
For a workaround, you need to update at least to version 1.7.6.2 of our VAT extension for Magento 1.
After the update, apply the following changes to the file app/code/local/Geissweb/Euvatgrouper/etc/config.xml:
Line 13-20 before:
<tax>
<rewrite>
<config>Geissweb_Euvatgrouper_Model_Tax_Config</config>
<!--
<calculation>Geissweb_Euvatgrouper_Model_Tax_Calculation</calculation>
-->
</rewrite>
</tax>
Line 13-20 after: (remove the comment)
<tax>
<rewrite>
<config>Geissweb_Euvatgrouper_Model_Tax_Config</config>
<calculation>Geissweb_Euvatgrouper_Model_Tax_Calculation</calculation>
</rewrite>
</tax>
Line 112-120 before:
<tax_rate_data_fetch>
<observers>
<geissweb_euvatgrouper_observer>
<type>singleton</type>
<class>Geissweb_Euvatgrouper_Model_Observer</class>
<method>taxRateDataFetch</method>
</geissweb_euvatgrouper_observer>
</observers>
</tax_rate_data_fetch>
Line 112-122 after (comment out the tax_rate_data_fetch observer completely):
<!--
<tax_rate_data_fetch>
<observers>
<geissweb_euvatgrouper_observer>
<type>singleton</type>
<class>Geissweb_Euvatgrouper_Model_Observer</class>
<method>taxRateDataFetch</method>
</geissweb_euvatgrouper_observer>
</observers>
</tax_rate_data_fetch>
-->
Finally clear the Magento caches.
Categories: EU VAT Enhanced (M1)