I'm trying to work out how to set the tax to be based on the billing address, rather than the shipping address.
I've already found solutions, but not for this version of OSCommerce. Could somebody help me please. The client's nagging for me to get it done yesterday and I haven't a clue!
Big thanks in advance
-James
Latest News: (loading..)
Tax based on Billing Address, not Shipping Address on OSC 2.3.1
Started by jimbeeer, Feb 09 2012, 15:59
tax delivery address billing address
5 replies to this topic
#1
Posted 09 February 2012, 15:59
#2
Posted 09 February 2012, 16:02
@jimbeeer,
Taxes are collected according to the location of your location. If your business is registered in Orange County, Florida, you collect taxes from customers located in Florida. You do NOT collect taxes from customers in Oregon. So, set up your tax zones and tax rates for Florida and you are done.
Chris
Taxes are collected according to the location of your location. If your business is registered in Orange County, Florida, you collect taxes from customers located in Florida. You do NOT collect taxes from customers in Oregon. So, set up your tax zones and tax rates for Florida and you are done.
Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:
:|: Click Here to learn how I can help you with custom coding, add ons, security and templates :|:
:|: Need an Area Calculator, Pre-Paid Account, Virtual Pin, Auction or Layaway Add on ? Click Here :|:
:|: Click Here to learn how I can help you with custom coding, add ons, security and templates :|:
:|: Need an Area Calculator, Pre-Paid Account, Virtual Pin, Auction or Layaway Add on ? Click Here :|:
#3
Posted 09 February 2012, 17:20
I'm in the UK, as is my client.
He has orders from all over the world, but he's found that when people in UK order something to get sent to South Africa they're not getting charged VAT.
Consequently people ordering in South Africa to get something sent within the UK are getting charged VAT, and they shouldn't be.
The whole thing about different states with different taxes is redundant.
So I need to charge VAT (tax) on the BILLING address, not the DELIVERY address.
He has orders from all over the world, but he's found that when people in UK order something to get sent to South Africa they're not getting charged VAT.
Consequently people ordering in South Africa to get something sent within the UK are getting charged VAT, and they shouldn't be.
The whole thing about different states with different taxes is redundant.
So I need to charge VAT (tax) on the BILLING address, not the DELIVERY address.
Edited by jimbeeer, 09 February 2012, 17:23.
#4
Posted 12 February 2012, 21:38
Bump. If anyone can help I'd be most grateful. Found how to do it on the older version but not on 2.3.1
#5
Posted 12 February 2012, 22:15
@jimbeeer
If you are shipping an item out of the UK, you should NOT charge taxes. If an item is being shipped within the UK, then they SHOULD be charged tax.
Chris
If you are shipping an item out of the UK, you should NOT charge taxes. If an item is being shipped within the UK, then they SHOULD be charged tax.
Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:
:|: Click Here to learn how I can help you with custom coding, add ons, security and templates :|:
:|: Need an Area Calculator, Pre-Paid Account, Virtual Pin, Auction or Layaway Add on ? Click Here :|:
:|: Click Here to learn how I can help you with custom coding, add ons, security and templates :|:
:|: Need an Area Calculator, Pre-Paid Account, Virtual Pin, Auction or Layaway Add on ? Click Here :|:
#6
Posted 18 March 2012, 05:16
Haven't tried it yet - but in the includes/classes/order.php file - there's this code
Pretty sure you could just change it to
if ($this->content_type == 'virtual') {
$tax_address = array('entry_country_id' => $billing_address['entry_country_id'],
'entry_zone_id' => $billing_address['entry_zone_id']);
} else {
$tax_address = array('entry_country_id' => $shipping_address['entry_country_id'],
'entry_zone_id' => $shipping_address['entry_zone_id']);
}
Pretty sure you could just change it to
$tax_address = array('entry_country_id' => $billing_address['entry_country_id'],
'entry_zone_id' => $billing_address['entry_zone_id']);














