View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Charging and Recording State and Federal Taxes Separately

Thread began 8/07/2009 10:58 am by Kevin373660 | Last modified 8/07/2009 5:39 pm by Kevin373660 | 873 views | 1 replies

Eric Mittman

In order to setup your checkout for state and sales tax you will first need to ensure that you have the two new columns in your orders table.

The idea is that you will use the eCart tax tab to create the tax rules. You will need to define the condition for which these tax rules are applied. For the state tax the idea is that the user selects the state from a select list, you can then use this user selected value for a state specific tax rule, or have a dynamic tax rule for the state.

A state specific tax rule is static, if the user selects a certain state then you will need to have a rule defined for that state that specifies the percentage of tax to charge.

In a dynamic rule you have the states and rates in a table, then when the user selects the state you will filter a recordset based on that value. You then store that rate in a session variable. When you configure the tax rule you will just check to see that your state tax rate session variable is set, and if it is then charge a percentage referencing this state rate session variable. This way you can have a single state tax rule for all the states.

When you are storing the order details you would use the bindings for your tax rules for their respective columns, then record the order tax using the regular eCart tax binding, this is a total of the tax rules applied.

As for adding the tax rates to the products this may enable you to control the federal tax as a per item calculation, then when you create the federal tax rule you can just use the total of your applied tax calculation as your federal tax amount for the order. If any part of this is not clear or you need any further info post back with some specifics and we will be glad to help.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...