counties not cities I think, but maybe I should stop thinkin
TheFinnisher <[email protected]>
| Newsgroups | gmane.comp.web.oscommerce.features |
|---|---|
| Message-ID | <9f78d17c4b97ec644e79ce123f0b0f4f@osCommerce-Forums> |
This message was sent from: Features
http://forums.oscommerce.com/viewtopic.php?p=177827#177827
----------------------------------------------------------------
Jeff,
Thanks! Well, from what I understand it seems like the local tax is rather county dependent rather than city dependent. In your case you are fortunate to be in a county that only has one city; San Francisco. I looked at this California page where the rates can be found.
Here's one for all the counties starting with "S"
[url]http://www.boe.ca.gov/cgi-bin/rates.cgi?LETTER=S&LIST=COUNTY[/url]
If you look on this list San Franciso has only two entries, San Francisco, and what appears to be an incorporated city named Presidio.
I don't really know much about taxes. It was just my common understanding that the local taxes were for counties and not for cities. But you are right! I should probably give the authorities a call...
or maybe not...
I mean, this is a lot of headache. And as you stated it, it becomes a nightmare when trying to bookkeep it.
Here's another mindteaser. I assume you do know that the only location the tax goes by is by the MAIN account address information...This can be a trap because now a customer uses his credit card in S.F or Huntington Beach but has his order shipped to Memphis, TN. Should he be charged CA tax just because he uses a credit card that has the billing address in CA? Plus the customer is given wrong information when he selects his billing address as Memphis, TN...but really the tax and credit card will be processed as CA.
I decided that for now it would just be safer to have the "Change Billing Address" button disfunctioned in the checkout_payment.php file.
What I did is I changed the address of that button to point to account_edit.php and then I changed the text above the button to say:
[quote]If you want to use another billing address you must change it in your account page. When you are done click the "checkout" button in the menu top-right.
[/quote]
I changed the button by changing the link as follows:
[code]<?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT_EDIT_PROCESS, '', 'SSL') . '">' . tep_image_button('button_change_address.gif', IMAGE_BUTTON_CHANGE_ADDRESS) . '</a>'; ?>[/code]
I also changed the checkout_confirmation.php file to have the "Edit" billing address point to the account_edit.php. I created a new definition of this "Edit" text and made it say: [quote](Edit in "My Account")[/quote]
I know this might seem like a lot of trouble but I'd rather try not to confuse the customer on what he is doing since nothing of it is visible to him/her.
Now if only we could have the taxes calculated by the true customer chosen address, and the credit card processed by the true billing address chosen. :roll: