Active
Project:
Ubercart Userpoints
Version:
6.x-2.x-dev
Component:
Discount
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Mar 2011 at 16:59 UTC
Updated:
30 Sep 2011 at 10:48 UTC
Is there a way to apply the discount to the total including VAT taxes so i can have 0 to pay if i have enough points to cover the entire cost?
Comments
Comment #1
bmagistro commentedHave you looked at the payment portion of this module? It should already support what you are trying to do assuming it is allow a user to pay for an entire order using points. In my mind discounts are just that a discount not a way to make an order come out to be "0". Hope this helps.
Comment #2
piebuo commentedYes, but there is a problem in the invoice. I explain whith an example:
I buy some points in the store, e.g. 100, and i receive a invoice of 100$.
After, i buy a product, and i want to pay with points. If i pay with points, i receive another invoice with of 100$, payed by points..
But, if i use a discount with userpoints, my invoice as the total that is total=price-discount that is exactly what i want, but if i apply a vat to a product i have this situation:
price of the product: 100
total excluding vat: 80
discount : 60
total: 40 (which is the total excl.vat-the discount+VAT applied to the entire price)
I think that the correct way is to calculate the vat after subtracting the discount, so we have:
price of the product: 100
total excluding vat: 80
discount : 60
total: 48(which is the total incl. vat - the discount +VAT applied to the new price)
Comment #3
jaykainthola commentedHI,
I have also the same issue.
Can anyone suggest the solution of this?