[#9076] Tax calculation question

1 year 5 months ago - 1 year 5 months ago #331649 by bizguy
[#9076] Tax calculation question was created by bizguy
I have an annual subscription plan and have provided a coupon to select users, but have an issue with the way the tax is calculated.
  • Annual subscription $50
  • Tax calculation: R*(P+A): A percentage R on the item price P to which an amount A is first added/substracted 
  • P = $50
  • A = -$10
  • R = 13%
  • Coupon 100% of the subscription price
The subscription and amount are displayed, the coupon amount is displayed, and the tax is shown as -$1.30 being calculated on A - see attached

Please advise how I can adjust to correct this.

Thanks, 

Ed

Attachments:

Please Log in to join the conversation.

1 year 5 months ago #331651 by krileon
Replied by krileon on topic Tax calculation question
Is the coupon a flat -50 or is it a percentage coupon set to 100? It normally shouldn't apply when the price is free.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

1 year 5 months ago #331655 by bizguy
Replied by bizguy on topic Tax calculation question
It is set to 100% as it can be used on other subscriptions that cost different amounts.

Please Log in to join the conversation.

1 year 5 months ago #331657 by krileon
Replied by krileon on topic Tax calculation question
Might be something funky with the math of that tax rule due to it adding an amount. Try setting it to "R*P: A percentage R of the item price P" then just having the tag be a percentage only and see if it's still doing this. Note you'll need to cancel the basket and retry for it to update.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

1 year 5 months ago #331661 by bizguy
Replied by bizguy on topic Tax calculation question
Yes, the issue seems to be with that tax rule being triggered and A being applied even when the basket is $0.

I changed the tax rule to "R*P: A percentage R of the item price P" as suggested and the basket total was calculated correctly.

 

Hopefully, the tax calculation for R*(P+A): A percentage R on the item price P to which an amount A is first added/subtracted can be corrected to not run on $0 baskets after a coupon is applied, as this affects 27 Tax rules on this site.

Thanks,
Ed
 
Attachments:

Please Log in to join the conversation.

1 year 5 months ago #331670 by krileon
Replied by krileon on topic Tax calculation question
Have created a bug ticket for further investigation as tax rules should just zero out or be skipped entirely for $0 baskets. Something going wonky with the totalizers.

forge.joomlapolis.com/issues/9076


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: bizguy

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.423 seconds

Facebook Twitter LinkedIn