Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

COUPON / VOUCHERS TAX ISSUE


kylebassett

Recommended Posts

Sub-Total: $69.99

Discount Coupons:free1: -$15.00

Flat Rate (Best Way): $0.00

8.0% PST (Ontario) + 7.0% GST: $10.50

Total: $65.49

 

I am using the coupon add on and I'm having an issue regarding tax.

It seems to be caculating my tax based on Sub-Total and not on the total after the discount is applied.

 

Can someone help me - how do I make the caculation charge the 15% after the discount.

 

It shold charge - $8.25 in tax - not $10.50

 

Thanks

Kyle

Link to comment
Share on other sites

Switching it to true cam out with a correct total, but it looks confusing to the end user

 

10% off of 58.00 this is what I get

 

Discount Coupons:021104: $6.22

Sub-Total: $51.78

MO Sales Tax 7.325%: $3.82

Shipping Rate (UPS): $10.50

Total: $66.52

 

it's adding the tax to the original total then takies 10% then it subtracts it from the original price THEN it figures tax on my new sub total then gives me a total. Confusing. How can I get this to work correctly and appear correct to the customer

 

 

Customers would expect to see:

Discount Coupons:021104: $5.80

Sub-Total: $52.20

MO Sales Tax 7.325%: $3.82

Shipping Rate (UPS): $10.50

Total: $66.52

 

How can I fix it to appear like the second

Link to comment
Share on other sites

are you sure that coupons reduce your sales tax liability for the full purchase price amount. Most taxing authorities consider coupons as a promotional items which is in most cases a business income reducing expense and a business tax deductable like most cost of sales costs. Most authorites require the purchase be completely totalled and then the coupon deducted from the grand total. But allow it to be shown before the grand total on the invoice. Which on the invoice would fall Sub-total, Taxes, Shipping, Coupon then Grand total. The coupon amount having a minus sign in front of it. You might want to check with your taxing authority before committing

Edited by bloodshoteyes
Link to comment
Share on other sites

This is what I did to fix my problem as far as the tax thing goes. in catalog/includes/modules/order_total/ot_coupon.php

 

 

Look for this like somewhere around line 40

$order->info['total'] = $order->info['total'] - $od_amount;

 

and replace it with this

$order->info['total'] = $order->info['tax'] + $order->info['subtotal'] + $order->info['shipping_cost'] - $od_amount;

 

It worked for me I now get this for an 85.00 order with a 10% discount

 

Discount Coupons:021104: $8.50

Sub-Total: $76.50

MO Sales Tax 7.325%: $5.60

Shipping Rate (UPS): $10.50

Total: $92.60

 

 

remember to backup before you make any changes

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...