Answers.Body: <p>This is fixed now in the latest 4.7 - I know this for a fact because I QAed it! </p>
  
  <p>You'll still get two receipts - but the math now adds up.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-17T04:43:59.923Z
Answers.Text: Thank you, Karin! That's just the motivation we need to do the 4.7.14 update.
Answers.UserDisplayName: Karl Rudnick
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-21T17:58:17.047Z
Answers.Text: After updating to 4.7.14, the problem with the receipts is fixed... GREAT! That's only the good news, though. When a person selects a membership and enters an optional donation, the math on the Confirm Contribution page "may" now be incorrect. In testing, one tester ALWAYS has the correct Membership amount, but the Donation amount is the SUM of the Membership and Donation. If you click Make Contribution, that is also how it is billed and recorded, so the user sends more money than planned. This was not a problem in Civi 4.7.12 - only the receipt was messed up. The transaction was good.
Answers.UserDisplayName: Karl Rudnick
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-21T18:01:45.770Z
Answers.Text: Elaborating on the above comment, we had 3 people test this with Civi 4.7.14 [note Dummy payment processor ;)]. Two of the testers had no issues. Confirm Contribution page correct, transaction in the database correct, receipts correct [separate emails for Membership and Donation]. However, one of the testers ALWAYS had the incorrect behavior above. So, it somehow is user-dependent, but doesn't seem random. I will add that the 2 successful testers also had Administrator privileges in Wordpress. The one failed tester had no Wordpress login whatsoever and we don't demand that our members make one
Answers.UserDisplayName: Karl Rudnick
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-21T18:10:10.173Z
Answers.Text: One more thing, the one failed tester got the same behavior whether our Contribution Page started as Financial Type = Membership and then ADDED Donation, or if we started as Financial Type = Donation and then ADDED Membership. In Civi 4.7.12, the behavior was different.
Answers.UserDisplayName: Karl Rudnick
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-21T20:10:00.850Z
Answers.Text: Hey Karl - we had two CiviCRM contributors test a very specific scenario but I'm not surprised to hear you are still observing some issues with 4.7 under some conditions. Best to add another JIRA ticket.
Answers.UserDisplayName: KarinG - Semper IT
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-21T21:18:43.047Z
Answers.Text: Karin - I am new to these support discussions. Are you submitting a JIRA ticket? I'm not sure I have access to CiviCRM's JIRA. Also, I have a couple screen shots. It would be easiest to send them through regular email. My email is rudnick.cooper@gmail.com
Answers.UserDisplayName: Karl Rudnick
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-21T21:24:01.787Z
Answers.Text: Karin - btw - if you have a test environment with the Dummy payment processor enabled, I would be happy to test a Membership + Donation page as a totally independent person. It still may be there are some configuration options that need to be tweaked on our Contribution Page.
Answers.UserDisplayName: Karl Rudnick
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-23T04:49:16.710Z
Answers.Text: Do those testers have same membership status prior to submitting? (Just one variable that may not have been considered)
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-03T02:10:42.770Z
Answers.Text: petednz - All 3 testers had active, non-expired memberships.
Answers.UserDisplayName: Karl Rudnick
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-03T02:15:56.133Z
Answers.Text: Karin - We have now gone live. No test environment anymore. To be safe, we just set up a separate Membership and Donate page, but ultimately we want an optional donation with any membership signup/renewal. I CAN set up a parallel test environment on a test domain, but we've been so busy deploying our first Wordpress+CiviCRM site that I need to take a break for a few days. Let me know if that would help. I've got mirrors in xampp on a windows and linux laptop, but that won't help this issue. Let me know if you need me to do that for work to continue on this issue.
Answers.UserDisplayName: Karl Rudnick
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-16T00:38:57.077Z
Answers.LastActivityDate: 2016-12-16T00:38:57.077Z
Answers.UserDisplayName: KarinG - Semper IT
Body: <p>I'm setting up a Signup, Renew, Donate page for both Membership signup/renewal and adding in an optional donation. I first tried setting the Financial Type = Membership. Everything worked fine, except the Membership and Donation were consolidated into one fee, not separate despite checking "Separate Membership Payment" when setting up the page. Also, on the receipt to the member, the two fees are added together, so they can't see how much was a donation (fully tax deductible) and how much was a membership (only partially deductible).</p>
  
  <p>So, I tried setting Financial Type = "Donations" and now everything works correctly in the database regarding both separate donation and membership entries, as well as getting the membership info correct. If an offline payment is selected, the invoice nicely breaks out the membership and donation information - see attached. HOWEVER, for an ONline payment, there is a separate email receipt for both the donation and the membership - see attached. The donation receipt is correct. However, the membership receipt shows TWICE the amount, because the membership is counted BOTH as a membership and now a redundant donation - see attached. If the optional donation is not included, the membership receipt still is double-counted, which will certainly create confusion to members.</p>
  
  <p>Is this a configuration issue that someone else has solved? OR, is it possibly a bug in generating the email receipt. Everything works perfectly except the separate e-mail for the membership. Ideally, the email receipt, like the invoice, would simply show both items with the correct total.</p>
  
  <p>Thanks for any help on this.</p>
  
  <p>The screenshot below shows correct reply on our website. Going into the CiviCRM database, a $17 Contribution is recorded as a donation, and a $30 membership is also recorded and the member's membership status is accurately updated.
  <a href="https://i.sstatic.net/bLX24.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/bLX24.png" alt="Correct screen reply"></a><br>
  <sub>(source: <a href="http://sdcbcdream.org/images/MembershipDonationScreenReply_CORRECT.png" rel="nofollow noreferrer">sdcbcdream.org</a>)</sub>  </p>
  
  <p>Below is the corresponding incorrect Membership Receipt in email. Note that the membership fee of $30 is listed also as a contribution, so that the total $60 is exactly DOUBLE.
  <a href="https://i.sstatic.net/lzoPf.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/lzoPf.png" alt="Incorrect Membership Receipt in email"></a><br>
  <sub>(source: <a href="http://sdcbcdream.org/images/MembershipOnlyReceipt_INCORRECT.png" rel="nofollow noreferrer">sdcbcdream.org</a>)</sub>  </p>
  
  <p>Below we see that the Donation Receipt in email is perfect.
  <a href="https://i.sstatic.net/Sta9c.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Sta9c.png" alt="Correct Donation Receipt in email"></a><br>
  <sub>(source: <a href="http://sdcbcdream.org/images/DonationOnlyReceipt_CORRECT.png" rel="nofollow noreferrer">sdcbcdream.org</a>)</sub>  </p>
  
  <p>Finally, the Invoice below generated for an offline payment (Pay Later) also correctly breaks out the total plus each item. It would be great if a receipt like this could be combine into just one receipt e-mail, although not necessary. We just don't want it to look like the Membership cost was double the actual.
  <a href="https://i.sstatic.net/BzwQW.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/BzwQW.png" alt="Correct Offline Invoice in email"></a><br>
  <sub>(source: <a href="http://sdcbcdream.org/images/MembershipDonationOfflineInvoice_CORRECT.png" rel="nofollow noreferrer">sdcbcdream.org</a>)</sub>  </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-12-15T21:58:25.433Z
Comments.Text: This is CiviCRM 4.7.12 hosted on WordPress 4.6.1
Comments.UserDisplayName: Karl Rudnick
Tags: <wordpress><civimember><contributions><receipts>
Title: Contribution=Membership+Donation incorrect for CiviCRM 4.7.12 on WordPress 4.6.1
ThreadText: # Contribution=Membership+Donation incorrect for CiviCRM 4.7.12 on WordPress 4.6.1
  
  (Asked by: username_0 on 2016-12-15)
  
  I'm setting up a Signup, Renew, Donate page for both Membership signup/renewal and adding in an optional donation. I first tried setting the Financial Type = Membership. Everything worked fine, except the Membership and Donation were consolidated into one fee, not separate despite checking "Separate Membership Payment" when setting up the page. Also, on the receipt to the member, the two fees are added together, so they can't see how much was a donation (fully tax deductible) and how much was a membership (only partially deductible).
  
  So, I tried setting Financial Type = "Donations" and now everything works correctly in the database regarding both separate donation and membership entries, as well as getting the membership info correct. If an offline payment is selected, the invoice nicely breaks out the membership and donation information - see attached. HOWEVER, for an ONline payment, there is a separate email receipt for both the donation and the membership - see attached. The donation receipt is correct. However, the membership receipt shows TWICE the amount, because the membership is counted BOTH as a membership and now a redundant donation - see attached. If the optional donation is not included, the membership receipt still is double-counted, which will certainly create confusion to members.
  
  Is this a configuration issue that someone else has solved? OR, is it possibly a bug in generating the email receipt. Everything works perfectly except the separate e-mail for the membership. Ideally, the email receipt, like the invoice, would simply show both items with the correct total.
  
  Thanks for any help on this.
  
  The screenshot below shows correct reply on our website. Going into the CiviCRM database, a $17 Contribution is recorded as a donation, and a $30 membership is also recorded and the member's membership status is accurately updated.
  [![Correct screen reply](https://i.sstatic.net/bLX24.png)](https://i.sstatic.net/bLX24.png)  
  (source: [sdcbcdream.org](http://sdcbcdream.org/images/MembershipDonationScreenReply_CORRECT.png))
  
  Below is the corresponding incorrect Membership Receipt in email. Note that the membership fee of $30 is listed also as a contribution, so that the total $60 is exactly DOUBLE.
  [![Incorrect Membership Receipt in email](https://i.sstatic.net/lzoPf.png)](https://i.sstatic.net/lzoPf.png)  
  (source: [sdcbcdream.org](http://sdcbcdream.org/images/MembershipOnlyReceipt_INCORRECT.png))
  
  Below we see that the Donation Receipt in email is perfect.
  [![Correct Donation Receipt in email](https://i.sstatic.net/Sta9c.png)](https://i.sstatic.net/Sta9c.png)  
  (source: [sdcbcdream.org](http://sdcbcdream.org/images/DonationOnlyReceipt_CORRECT.png))
  
  Finally, the Invoice below generated for an offline payment (Pay Later) also correctly breaks out the total plus each item. It would be great if a receipt like this could be combine into just one receipt e-mail, although not necessary. We just don't want it to look like the Membership cost was double the actual.
  [![Correct Offline Invoice in email](https://i.sstatic.net/BzwQW.png)](https://i.sstatic.net/BzwQW.png)  
  (source: [sdcbcdream.org](http://sdcbcdream.org/images/MembershipDonationOfflineInvoice_CORRECT.png))
  
  **Tags:** wordpress, civimember, contributions, receipts
  
  > **Comments:**
  > **username_0**: This is CiviCRM 4.7.12 hosted on WordPress 4.6.1  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-12-16. Score: 2
  
  This is fixed now in the latest 4.7 - I know this for a fact because I QAed it!
  
  You'll still get two receipts - but the math now adds up.
  
  > **Comments:**
  > **username_0**: Thank you, Karin! That's just the motivation we need to do the 4.7.14 update.  
  > **username_0**: After updating to 4.7.14, the problem with the receipts is fixed... GREAT! That's only the good news, though. When a person selects a membership and enters an optional donation, the math on the Confirm Contribution page "may" now be incorrect. In testing, one tester ALWAYS has the correct Membership amount, but the Donation amount is the SUM of the Membership and Donation. If you click Make Contribution, that is also how it is billed and recorded, so the user sends more money than planned. This was not a problem in Civi 4.7.12 - only the receipt was messed up. The transaction was good.  
  > **username_0**: Elaborating on the above comment, we had 3 people test this with Civi 4.7.14 [note Dummy payment processor ;)]. Two of the testers had no issues. Confirm Contribution page correct, transaction in the database correct, receipts correct [separate emails for Membership and Donation]. However, one of the testers ALWAYS had the incorrect behavior above. So, it somehow is user-dependent, but doesn't seem random. I will add that the 2 successful testers also had Administrator privileges in Wordpress. The one failed tester had no Wordpress login whatsoever and we don't demand that our members make one  
  > **username_0**: One more thing, the one failed tester got the same behavior whether our Contribution Page started as Financial Type = Membership and then ADDED Donation, or if we started as Financial Type = Donation and then ADDED Membership. In Civi 4.7.12, the behavior was different.  
  > **username_1**: Hey Karl - we had two CiviCRM contributors test a very specific scenario but I'm not surprised to hear you are still observing some issues with 4.7 under some conditions. Best to add another JIRA ticket.  
  > **username_0**: Karin - I am new to these support discussions. Are you submitting a JIRA ticket? I'm not sure I have access to CiviCRM's JIRA. Also, I have a couple screen shots. It would be easiest to send them through regular email. My email is rudnick.cooper@gmail.com  
  > **username_0**: Karin - btw - if you have a test environment with the Dummy payment processor enabled, I would be happy to test a Membership + Donation page as a totally independent person. It still may be there are some configuration options that need to be tweaked on our Contribution Page.  
  > **username_2**: Do those testers have same membership status prior to submitting? (Just one variable that may not have been considered)  
  > **username_0**: petednz - All 3 testers had active, non-expired memberships.  
  > **username_0**: Karin - We have now gone live. No test environment anymore. To be safe, we just set up a separate Membership and Donate page, but ultimately we want an optional donation with any membership signup/renewal. I CAN set up a parallel test environment on a test domain, but we've been so busy deploying our first Wordpress+CiviCRM site that I need to take a break for a few days. Let me know if that would help. I've got mirrors in xampp on a windows and linux laptop, but that won't help this issue. Let me know if you need me to do that for work to continue on this issue.  
  
  ---
  
  