Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Mar 2009
    Posts
    393
    Plugin Contributions
    0

    Default Reward Points and Tax

    I've tried searching and posting on the reward point thread, and contacting one of the original coders of the mod, to no avail.

    Do I need to update code that calculates tax to take reward points in to account?

    Sub-Total : £20.00
    Reward Points : -£10.00
    VAT @ 20% : £4.00
    Total £14.00


    It should obviously be a total of £12 and with a VAT total of £2 where am I going wrong?

  2. #2
    Join Date
    Mar 2009
    Posts
    393
    Plugin Contributions
    0

    Default Re: Reward Points and Tax

    Reward points need to be taken into account before vat calculation

    Sub-Total: £20.00
    Free Shipping: £0.00
    Tax: £3.40
    Value of Redeemed Reward Points: -£20.00
    Total: £3.40

    Like so.

    Sub-Total: £20.00
    Value of Redeemed Reward Points: -£20.00
    Free Shipping: £0.00
    Tax: £0.00
    Total: £0.00

  3. #3
    Join Date
    Jul 2007
    Posts
    1,881
    Plugin Contributions
    12

    Default Re: Reward Points and Tax

    Quote Originally Posted by DigitalShadow View Post
    Reward points need to be taken into account before vat calculation

    Sub-Total: £20.00
    Free Shipping: £0.00
    Tax: £3.40
    Value of Redeemed Reward Points: -£20.00
    Total: £3.40

    Like so.

    Sub-Total: £20.00
    Value of Redeemed Reward Points: -£20.00
    Free Shipping: £0.00
    Tax: £0.00
    Total: £0.00
    I know the author of this module was on here this morning. I don't know why he doesn't answer anymore in this thread.
    You can see what he said to someone over here.

  4. #4
    Join Date
    Mar 2009
    Posts
    393
    Plugin Contributions
    0

    Default Re: Reward Points and Tax

    I would have thought this is a simple problem, tax is correctly calculated when group pricing is used, so if someone could point me in the right direction I'm sure I can fix this issue.

  5. #5
    Join Date
    Mar 2009
    Posts
    393
    Plugin Contributions
    0

    Default Re: Reward Points and Tax

    anyone?

  6. #6
    Join Date
    Jul 2007
    Posts
    1,881
    Plugin Contributions
    12

    Default Re: Reward Points and Tax

    Quote Originally Posted by DigitalShadow View Post
    anyone?
    Try this go to your admin/configuration/Reward Points and set the Allow Redeem of Reward Points on Order Total or Subtotal to 1 Against the full order and see if that does anything different. If that don't work look at the Advanced Reward Point Calculation Rules.

  7. #7
    Join Date
    Mar 2009
    Posts
    393
    Plugin Contributions
    0

    Default Re: Reward Points and Tax

    It makes no difference, the problem is, the tax calculation doesn't take reward points into the equation, I wonder if I need to modify the tax calculation code to include reward points in the calculation.

  8. #8
    Join Date
    Mar 2009
    Posts
    393
    Plugin Contributions
    0

    Default Re: Reward Points and Tax

    Can't you enable tax on your dev site and see if you can recreate my problem to make sure it isn't me having an issue.

  9. #9
    Join Date
    Jul 2007
    Posts
    1,881
    Plugin Contributions
    12

    Default Re: Reward Points and Tax

    Quote Originally Posted by DigitalShadow View Post
    Can't you enable tax on your dev site and see if you can recreate my problem to make sure it isn't me having an issue.
    This is what mine looks like when I calculate tax in my total.

    $8.95
    Sub-Total:


    $9.81
    Shipping (UPS Ground ($9.81) Insurance Included + Fuel Surcharge):


    $2.58
    NC Sales Tax + California Sales Tax + NC Sales Tax + California Sales Tax:


    -$4.00
    Value of Redeemed Reward Points:


    $17.34
    Total:


    As you can see it totals right. It has to do with something you did wrong.

  10. #10
    Join Date
    Mar 2009
    Posts
    393
    Plugin Contributions
    0

    Default Re: Reward Points and Tax

    In the UK we have VAT, value added tax.

    20% of the value of the good or service is added to the total.

    Product cost - Reward Points = Sub-Total

    Subtotal + Tax = Total

    If reward points are used, the value of the product is less, therefore less tax should be charged.

    Taking money off the total after the calculation of tax is wrong.

    Tax must be calculated based on the value of the goods and services. If reward points are used to lower the cost of goods, then the tax rate must reflect the new sub-total.

    ot_group_pricing works fine with tax,


    £44.99 = Sub-Total
    -£6.75 = Group Discount
    £0.00 = Free Shipping
    £7.65 = Product VAT
    £45.89 = Total

    Doing the same checkout with reward points instead of group discount gives this

    £44.99 = Sub-Total
    -£6.75 = Reward Points
    £0.00 = Free Shipping
    £9.00 = Product VAT (tax calculation not taking reward points into equation)
    £47.24 = Total

    Can you see the problem?
    Last edited by DigitalShadow; 26 Mar 2012 at 10:23 PM.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Reward points module : 0 points earned
    By jonnyboy22 in forum Addon Payment Modules
    Replies: 5
    Last Post: 5 Jun 2012, 09:52 AM
  2. Reward Points module- points not calculated correctly
    By cpoet in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 9 Sep 2010, 05:02 PM
  3. Reward Points Module - Hide message when 0 points offered
    By expresso in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 11 Dec 2008, 06:58 PM
  4. Referral Reward points mod?
    By anafor in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 1 Aug 2008, 04:57 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •