title: Magento Tax calculations wrong - inc vat and ex vat are the same… Paypal adding tax and delivery twice…
body: <p>I’m having issues with the tax calculations on my site.</p>
  
  <p>The prices are set to be including tax. I have a group price set for trade customers (also including tax). Everything works fine if I am not logged in and go through the checkout as a guest user.</p>
  
  <p>But when I log in as a trade customer and go to the cart, the Excl tax and Inc tax are the same value (see: <a href="http://phyto5.co.uk/Checkout.png" rel="nofollow">http://phyto5.co.uk/Checkout.png</a>)</p>
  
  <p>Then when i go through to PayPal, the tax and delivery get added onto the grand total again (see <a href="http://phyto5.co.uk/PayPal.png" rel="nofollow">http://phyto5.co.uk/PayPal.png</a>)</p>
  
  <p>Any help would be appreciated.</p>
  
  <p>UPDATE:</p>
  
  <p>Looking into this further it looks like the wrong values are being passed to paypal, so it's definitely a magento issue not a paypal one.</p>
  
  <p>If I add a product costing £20, which includes £3.33 tax, and has an additional £4.95 shipping. The payment_paypal_standard log file shows the following is being passed through:</p>
  
  <p>[amount] => 24.95</p>
  
  <p>[tax] => 3.33</p>
  
  <p>[shipping] => 4.95</p>
  
  <p>Paypal then adds the three together to give the total amount payable.</p>
  
  <p>Thanks
  Steve</p>