Skip to Content Skip to Menu

🌟 CB Editor Assistant 1.0.0 is here! Discover our new AI Joomla Plugin that wrote its story! (and this banner!)
Start at just $12.50/month* or 💸 save 30% with our 🛍️ Black Friday Intro Offer for your subscription's lifetime
🎉 Black Friday sale is here! Great savings on professional and developer memberships! Get 25% off now with code BLACK-FRIDAY-2024!

[#9076] Tax calculation question

  • bizguy
  • bizguy
  • OFFLINE
  • Posts: 199
  • Thanks: 32
  • Karma: 5
2 years 2 weeks ago - 2 years 2 weeks 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

Last edit: 2 years 2 weeks ago by krileon. Reason: Added [#9076] tag to subject

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48570
  • Thanks: 8293
  • Karma: 1445
2 years 2 weeks 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 or Create an account to join the conversation.

  • bizguy
  • bizguy
  • OFFLINE
  • Posts: 199
  • Thanks: 32
  • Karma: 5
2 years 2 weeks 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 or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48570
  • Thanks: 8293
  • Karma: 1445
2 years 2 weeks 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 or Create an account to join the conversation.

  • bizguy
  • bizguy
  • OFFLINE
  • Posts: 199
  • Thanks: 32
  • Karma: 5
2 years 2 weeks 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
 

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48570
  • Thanks: 8293
  • Karma: 1445
2 years 2 weeks 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 or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum