The Official Website of AgoraCart and Agora.cgi
AgoraCart.com Demos Download AgoraCart User Manuals & Wiki Gold Members Forum Go Gold Now! Gold Version Memberships

AgoraCart.com

About
Features
Download
Payment Gateways
Send a Donation
Founders Club
BLOG: News & Updates

Showcases & Demos

AgoraCart Demos
Shop Live Stores

Downloads & Add-ons

Gold Version Downloads
DBwizz Database Mgr.
AgoraCart.com Store

Help & Support

User Manuals
Gold Version Users Forum
Gold Version Chat
Tech Support
Certified Agora Pros
Certified Designers
Hire a Freelancer

Gold Version Members

Member Benefits
Join Today!
Gold Members Home
Gold Version Users Forum
Gold Version Chat Rooms
Gold Version Downloads

For Store Owners

Merchant Accounts
Cool Resources
Advertise Here
"Powered by" Logos
Web Hosting Search

Misc.

Contact Us
MEET's Talking Guide
The Ancient Greek Agora






AgoraCart Free User Forums

This is the official FAQ and Cool Tips guide For the AgoraCart shopping Cart software


Official Sponsors of the AgoraCart Project:

       


RegisterSearchFAQLog in
Reply to topic Page 1 of 1
city tax
Author Message
Reply with quote
Post city tax 
Hello, I'm using the extra tax logic for other cities, but it's just adding the state tax. I am using the AuthorizeNet form. This form uses a zip code variable, but not a city. Is this causing the problem? Do I need to update the tax logic to recognize zip codes instead of cities?
Thanks for any help.

View user's profile Send private message
Reply with quote
Post  
You have answered "yes" to the "Use Extra Tax 1 Logic?" question, right?


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post  
yes, I sure did.

View user's profile Send private message
Reply with quote
Post  
What, exactly, do you have in the city logic?


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post  
I just kept the original code except changed the city and tax.
Code:

$sc_city_tax_variable = "Ecom_ShipTo_Postal_City";
$city_variable = $form_data{$sc_city_tax_variable};
if ($city_variable =~ /Huntsville/i) { # replace city name with yours
$city_tax = ($subtotal *0.08);  # replace decimal values with your tax amount
                 }


View user's profile Send private message
Reply with quote
Post  
Sorry... Duh.. Rolling Eyes this could have been answered a few posts back....
You will need to have a City field in the AuthorizeNet order form.
You can follow instructions at the following URL for adding a field:
http://www.agoraguide.com/faq/viewtopic.php?t=2113

HTH!


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post  
Okay, great! That worked. Except now I can't get Extra tax logic 2&3 to work. Do I need to change the variable names to something like "$sc_city_tax_variable2" & "$sc_city_tax_variable3"? I just have county and another city tax to add.

View user's profile Send private message
Reply with quote
Post  
For the county, you could use $sc_county_tax_variable...
Or you could go at this a slightly different way.
In the agora2 Yahoo group there is a file on setting up Canadian taxes, which utilizes the extra tax logic:
http://groups.yahoo.com/group/agora2/files/

HTH!


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post  
How do I join that yahoo group? I'm a registered yahoo user already.

View user's profile Send private message
Reply with quote
Post  
Just go here and join:
http://groups.yahoo.com/group/agora2

HTH!


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Reply with quote
Post  
Thank you! Their Canadian tax code simplified mine. I've got all the sales taxes working and even put in an extra check for state to make sure a city with the same name in another state didn't get taxed. I appreciate your help!

View user's profile Send private message
Reply with quote
Post  
if you have the time and are inclined you can upload instructions of what you did to the yahoo files section to help out others in the future.
d

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum