Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

tax not added to total, help...


cesar

Recommended Posts

I am testing my cart. I login, add an item to my cart, proceed to check out. I select my method of shippment (I only use UPS), enter in my payment info, the go to confirmation. HERE IS THE PROBLEM:

 

Sub total: $365.33 (cost of item)

tax: $27.84 (texas tax rate of 8.25%)

ups shipping cost is $14.74

total: $380.07 - the total is totally wrong. I adds cost of item plus shipping but no tax. Then when I proceed to the gateway(using verisign), the total stays the same and only the total minus the shipping is charged.

 

I am at a total loss, what have I done wrong? Why is the total cost not including the tax?

Link to comment
Share on other sites

Sub total: $365.33 (cost of item)

tax: $27.84 (texas tax rate of 8.25%)

ups shipping cost is $14.74

total: $380.07 - the total is totally wrong.  I adds cost of item plus shipping but no tax.  Then when I proceed to the gateway(using verisign), the total stays the same and only the total minus the shipping is charged.

 

I am at a total loss, what have I done wrong?  Why is the total cost not including the tax?

 

Can you try switching the Tax and Shipping order total module sort order?

:heart:, osCommerce

Link to comment
Share on other sites

Thank you so much for your quick reply, it is an honor to have your reply, this product is so revelotionary.

 

Ok, I looked for what you are refering to. The only place I found anything about changing order was on the Config-My Store - Expected Sort Order, but I don't think that is what u r refering to. Could you point me in the right direction?

Link to comment
Share on other sites

Administration Tool -> Modules -> Order Total

 

:D

 

The default values are:

 

Shipping: 2

Sub-Total: 1

Tax: 3

Total: 4

 

The reason the tax needs to go after the shipping is that it needs to find out the tax of the shipping fees.

 

The sort order of the order total modules is not flexible.... yet! As you've experienced, moving the sort order around will break the order total calculation.

:heart:, osCommerce

Link to comment
Share on other sites

Administration Tool -> Modules -> Order Total

 

:D

 

The default values are:

 

Shipping: 2

Sub-Total: 1

Tax: 3

Total: 4

 

The reason the tax needs to go after the shipping is that it needs to find out the tax of the shipping fees.

 

The sort order of the order total modules is not flexible.... yet! As you've experienced, moving the sort order around will break the order total calculation.

 

Ok i updated the sort order and noticed the change, however, the tax is still not added into the total price at the Confirm Order Page. This is what I got:

 

Sub-Total: $365.33

United Parcel Service (1 x 8.525lbs) (3 Day Select): $15.96

Tax: $29.06

Total: $381.29

 

I double checked to make sure that the item in the catalog was marked as being taxable and it was. What else could it be?

Link to comment
Share on other sites

  • 1 month later...

I have found that it osc adds tax to price you specify. Meaning that if the price is 100 usd and your tax rate is .0825 then when you add a product and specify its price, then upload, it's price will be 108.25. But what is wierd is that if the price is an odd number like, 359.52 usd, then it adds tax but the calcualtion is wrong for a tax rate of .0825.

Link to comment
Share on other sites

  • 2 weeks later...

I can confirm that there is an error in the way that osCommerce is handeling order totals and tax. In sweden we have to have prices including tax is you sell to a person, and not a company. This is actually specified in a new law for electronic commerce in sweden.

 

When developing a new payment module for osc i also found out that there is an error in the way osc is handeling order totals and tax.

 

I think i have found the error and is just now testing a fix to the problem.

I expect the fix to be dlivered (tested) after the weekend.

Link to comment
Share on other sites

i had this question but it was reversed! the answer to your question is it is already being added.

 

the way i found this out is i was wondering why my prices were more than what I entered so after testing things out i found out that if i took the product out of the tax class it would go to the price i entered. this is how i came across this thread, because i am looking for how can i make it so that tax is only added to florida residents and not everyone...

 

hope that make sense...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...