qwerty65 Posted March 1, 2004 Share Posted March 1, 2004 hi, I'm trying to setup osCommerce with just one taxzone for a dutch webshop. I've added one taxzone, one taxclass, one taxrate. When adding products I've selected the just added taxzone. When I just browse through the products everything looks ok (i've set display prices with tax to true) but when I want to checkout the fourth page in the checkout (checkout_confirmation.php) show the productprices including VAT, but next to that it also has an additional line for the VAT: Sub-Total: 115,78EUR NL BTW 19%: 15,29EUR (this one shouldn't be there as the productprice already included VAT) Flat Rate (Best Way): 5,00EUR Total: 120,78EUR ---------------- So the customer is billed for VAT twice.. Any idea how to fix this ? I'd like to have the shop show the amounts including VAT and have one line on the invoice/overview that list the amount of VAT charged. thanks, Link to comment Share on other sites More sharing options...
mfaggion Posted March 22, 2004 Share Posted March 22, 2004 I am having the same problem with all of my taxable customers in NC, USA. Is there a setting that I'm missing? ---------- Mark Link to comment Share on other sites More sharing options...
mfaggion Posted March 22, 2004 Share Posted March 22, 2004 It appears that I have figured out what went wrong with my situation. It appears to be a bug in the surepay.php payment module file. Apparently, the module passed across the calculated total (the product, shipping, AND tax), but it also passed across a tax field to SurePay via... 'taxamount' => $HTTP_POST_VARS[ 'surepay_tax' ] Therefore, though the customer sees the correct totals, even in their order email, when it comes across to SurePay, SurePay adds the tax again to the total. I simply commented out the line above (around line 314) and it appears to have fixed the problem. I've recently seen a similar fix for the surepay module regarding double shipping costs. I don't know if this is your situation, but it may be worth checking on, especially if you are using SurePay. ----- Mark Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.