Answers.Body: <p>Looks a bug - can you log an issue in gitlab - <a href="https://lab.civicrm.org/groups/dev/-/boards" rel="nofollow noreferrer">https://lab.civicrm.org/groups/dev/-/boards</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-10-12T20:54:11.000Z
Answers.Text: https://lab.civicrm.org/dev/financial/-/issues/154
Answers.UserDisplayName: eileen
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-10-12T02:55:42.507Z
Answers.LastActivityDate: 2020-10-12T02:55:42.507Z
Answers.UserDisplayName: eileen
Body: <p>We are having a problem with sales tax calculations when letting the user add an optional donation to a membership purchase or renewal. We need to separate the membership and donation into two transactions (selecting &quot;Separate Membership Payment&quot; on the membership tab of the contribution page) so that the the charitable donation receipt will be generated.  If we don't separate the payment, the sales tax is computed properly -- but then we can't generate a charitable donation receipt.</p>
  <p>When we separate the transactions, the sales tax is not added to the membership purchase, but it does appear on the receipt but is not added or charged.</p>
  <p>On the contribution page:</p>
  <ul>
  <li>Financial type is set to Donation - that type will generate a charity receipt, but no sales tax</li>
  <li>&quot;Contribution Amount section enabled&quot; is selected to let the user enter a donation with membership, with &quot;allow other amounts&quot; selected so that they can enter what they want</li>
  <li>&quot;Separate Membership Payment&quot; is selected, as described above</li>
  </ul>
  <p>For example, if we select a $90 membership that needs $11.70 sales tax with an $100 extra donation:</p>
  <p>Receipt 1 (for membership), shows sales tax but it is not added to the total:</p>
  <p><a href="https://i.sstatic.net/LXuZY.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/LXuZY.png" alt="Total is not correct" /></a></p>
  <p>Receipt 2 (for donation) shows no sales tax and is correct:</p>
  <p><a href="https://i.sstatic.net/8TDS4.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/8TDS4.png" alt="Tax is not charged - correct" /></a></p>
  <p>I have tried the <a href="https://civicrm.stackexchange.com/questions/37533/wrong-tax-calculation-on-donation-pages">patch</a> but that didn't make a difference.</p>
  <p>I am using WordPress 5.5.1 and CiviCRM 5.29.1 with CiviMember and CDN Tax Receipts extension.</p>
  
Tags: <civicontribute><civimember>
Title: Sales Tax not added to total when memberships include donations that are separate transactions
ThreadText: # Sales Tax not added to total when memberships include donations that are separate transactions
  
  (Asked by: username_0 on 2020-10-11)
  
  We are having a problem with sales tax calculations when letting the user add an optional donation to a membership purchase or renewal. We need to separate the membership and donation into two transactions (selecting "Separate Membership Payment" on the membership tab of the contribution page) so that the the charitable donation receipt will be generated. If we don't separate the payment, the sales tax is computed properly -- but then we can't generate a charitable donation receipt.
  
  When we separate the transactions, the sales tax is not added to the membership purchase, but it does appear on the receipt but is not added or charged.
  
  On the contribution page:
  
  * Financial type is set to Donation - that type will generate a charity receipt, but no sales tax
  * "Contribution Amount section enabled" is selected to let the user enter a donation with membership, with "allow other amounts" selected so that they can enter what they want
  * "Separate Membership Payment" is selected, as described above
  
  For example, if we select a $90 membership that needs $11.70 sales tax with an $100 extra donation:
  
  Receipt 1 (for membership), shows sales tax but it is not added to the total:
  
  [![Total is not correct](https://i.sstatic.net/LXuZY.png)](https://i.sstatic.net/LXuZY.png)
  
  Receipt 2 (for donation) shows no sales tax and is correct:
  
  [![Tax is not charged - correct](https://i.sstatic.net/8TDS4.png)](https://i.sstatic.net/8TDS4.png)
  
  I have tried the [patch](https://civicrm.stackexchange.com/questions/37533/wrong-tax-calculation-on-donation-pages) but that didn't make a difference.
  
  I am using WordPress 5.5.1 and CiviCRM 5.29.1 with CiviMember and CDN Tax Receipts extension.
  
  **Tags:** civicontribute, civimember
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-10-12. Score: 0
  
  Looks a bug - can you log an issue in gitlab - <https://lab.civicrm.org/groups/dev/-/boards>
  
  > **Comments:**
  > **username_1**: https://lab.civicrm.org/dev/financial/-/issues/154  
  
  ---
  
  