Magento: don't send tax to paypal/don't show tax in paypal emails -
i'm using magento 1.7, , 1 of payment options paypal (uk) express checkout.
the problem don't want paypal send out emails tax breakdown on, there more straightforward way of solving (at magento or paypal end) rather hacking core module pass sub+tax sub , 0 tax?
i can see lot of fields mapped in model/api/nvp.php, can't see i'd modify these values.
as far investigated, there no easy configurable way prevent taxes submitted paypal.
but indeed there core hack if don't mind total amount submitted (no line items, no taxes).
go system/config/paypal
, set transfer cart line items
no
. in code go function _validate()
in class mage_paypal_model_cart
. @ end of function add following lines:
$this->_areitemsvalid = false; $this->_aretotalsvalid = false;
of course nicer to rewrite class in app/code/local
folder.
Comments
Post a Comment