Answers.Body: <p>we're about to release a patch for this which will fix the discount. I'll push back to this thread once released, hopefully within the next couple of working days.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-06-18T10:26:35.943Z
Answers.Text: Hi. I am on the latest 3.3. version and this is still not working. Our membership is $220 + 10% tax but when we add a 50% tax it makes the amount $99 + $ 22 tax. So it seems like it also miscalculates the base amount.
Answers.UserDisplayName: Sohal Khatwani
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-27T00:21:54.310Z
Answers.LastActivityDate: 2015-11-27T00:21:54.310Z
Answers.UserDisplayName: Parvez Saleh
Answers.Body: <p>We've patched Cividiscount extension which now ensures that the discount also gets applied to VAT/Sales Tax when it's applied to price options.
  Here is the PR link: <a href="https://github.com/dlobo/org.civicrm.module.cividiscount/pull/131" rel="nofollow">https://github.com/dlobo/org.civicrm.module.cividiscount/pull/131</a></p>
  
  <p>Have also updated the ticket: <a href="https://issues.civicrm.org/jira/browse/CRM-16861" rel="nofollow">https://issues.civicrm.org/jira/browse/CRM-16861</a></p>
  
  <p>Thanks</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-30T20:46:09.520Z
Answers.Text: Just an update on this! I did another PR for the same which also considers "Fixed Amount" as well as "Percent" based discounts. Here is the link: https://github.com/dlobo/org.civicrm.module.cividiscount/pull/133 The PR has now been merged.
Answers.UserDisplayName: Priyanka Karan
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-27T10:36:11.173Z
Answers.LastActivityDate: 2015-11-27T10:36:11.173Z
Answers.UserDisplayName: Priyanka Karan
Body: <p>I found this in the CiviCRM issue tracker - <a href="https://issues.civicrm.org/jira/browse/CRM-16861" rel="nofollow">https://issues.civicrm.org/jira/browse/CRM-16861</a></p>
  
  <p>This is a pretty major bug for us - Has anyone resolved this issue on their own?</p>
  
  <p>Essentially, when a discount code is applied, tax is applied to the original amount rather than the discounted amount.</p>
  
Tags: <civicontribute><cividiscount><taxes>
Title: CiviDiscount - applying sales tax on discounted price rather than original price
ThreadText: # CiviDiscount - applying sales tax on discounted price rather than original price
  
  (Asked by: username_0 on 2015-11-26)
  
  I found this in the CiviCRM issue tracker - <https://issues.civicrm.org/jira/browse/CRM-16861>
  
  This is a pretty major bug for us - Has anyone resolved this issue on their own?
  
  Essentially, when a discount code is applied, tax is applied to the original amount rather than the discounted amount.
  
  **Tags:** civicontribute, cividiscount, taxes
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_3 on 2015-11-27. Score: 4 | Accepted answer
  
  We've patched Cividiscount extension which now ensures that the discount also gets applied to VAT/Sales Tax when it's applied to price options.
  Here is the PR link: <https://github.com/dlobo/org.civicrm.module.cividiscount/pull/131>
  
  Have also updated the ticket: <https://issues.civicrm.org/jira/browse/CRM-16861>
  
  Thanks
  
  > **Comments:**
  > **username_3**: Just an update on this! I did another PR for the same which also considers "Fixed Amount" as well as "Percent" based discounts. Here is the link: https://github.com/dlobo/org.civicrm.module.cividiscount/pull/133 The PR has now been merged.  
  
  ---
  
  ### Answer by username_1 on 2015-11-27. Score: 1
  
  we're about to release a patch for this which will fix the discount. I'll push back to this thread once released, hopefully within the next couple of working days.
  
  > **Comments:**
  > **username_2**: Hi. I am on the latest 3.3. version and this is still not working. Our membership is $220 + 10% tax but when we add a 50% tax it makes the amount $99 + $ 22 tax. So it seems like it also miscalculates the base amount.  
  
  ---
  
  