Answers.Body: <p>That definitely sounds like a bug.  It's not really replicable on the demo server, because you can't get emailed receipts, but if you can replicate this on a site built with buildkit, you can file this at <a href="https://issues.civicrm.org" rel="nofollow">https://issues.civicrm.org</a>.</p>
  
  <p>To start tracking the bug down, I'd insert the <code>{debug}</code> Smarty token into your receipt.  Hopefully there's an obviously wrong variable.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-01T00:24:14.153Z
Answers.Text: Jon, I entered in working SMTP and seems that the demo site is not acting this way but the Joomla demo site is not the current version or of CiviCRM either. Gonna try it on the Drupal site but not sure this is a good comparison.
Answers.UserDisplayName: BruceW
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-01T02:34:49.453Z
Answers.Text: Can't get Smarty Console to work placing token {debug} in receipt. All the output is in the metadata but the console doesn't appear. Ideas?
Answers.UserDisplayName: BruceW
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-02T18:09:00.960Z
Answers.Text: @BruceW The Smarty Console (I assume you mean using `&smartyDebug=1`) isn't applicable to message templates.  That only shows the Smarty for web pages - in your case, that's probably the "Message Templates" page.  The `{debug}` tag is necessary because it will inject that info into an email.  If you send yourself a test message with the `{debug}` token inserted you should get useful debugging info in the receipt you receive.
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-10-29T01:04:30.357Z
Answers.LastActivityDate: 2016-10-29T01:04:30.357Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.Body: <p>This appears to be the bug described in <a href="https://issues.civicrm.org/jira/browse/CRM-19298" rel="nofollow noreferrer">CRM-19298</a>.  A patch has been submitted in the last couple of days, but it's not yet in the review queue for the January release.  If you have the ability to provide QA, please update the Jira ticket!</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-12-07T18:30:50.710Z
Answers.LastActivityDate: 2016-12-07T18:30:50.710Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>Weirdness I can't find answer to. I hope I can articulate this well enough. If not, I'll make a screencast. And is not the same as <a href="https://civicrm.stackexchange.com/questions/8273/contribution-page-other-amount-option-causes-weird-behavior-possible-bug">Contribution page &quot;other amount&quot; option causes weird behavior - possible bug?</a></p>
  
  <p>Steps:</p>
  
  <ol>
  <li>Create Contribution Page</li>
  <li>Set contributions for only "Other Amount". No other entries for contributions.</li>
  <li>Set for Membership signup</li>
  <li>Tick "Separate Membership Payment"</li>
  <li>Test Drive choosing a membership level (type) and leaving "Other Amount" blank is successful through end of workflow with correct amount for Membership showing only.</li>
  <li>PROBLEM: (Test) Receipt sent by email shows correct amount for Membership but also includes same for 'Other Amount' doubling the total. </li>
  </ol>
  
  <p>Then if I untick "Separate Membership Payment" then the correct amount appears through the workflow but then two receipts are sent; one for Contribution and one for Membership. But, the Membership receipt continues to fill in the "Other Amount" section with the Membership amount and doubles the total amount.</p>
  
Tags: <civicontribute><civimember><receipts>
Title: Why Membership and Other Amount doubles receipt amount
ThreadText: # Why Membership and Other Amount doubles receipt amount
  
  (Asked by: username_0 on 2016-10-28)
  
  Weirdness I can't find answer to. I hope I can articulate this well enough. If not, I'll make a screencast. And is not the same as [Contribution page "other amount" option causes weird behavior - possible bug?](https://civicrm.stackexchange.com/questions/8273/contribution-page-other-amount-option-causes-weird-behavior-possible-bug)
  
  Steps:
  
  1. Create Contribution Page
  2. Set contributions for only "Other Amount". No other entries for contributions.
  3. Set for Membership signup
  4. Tick "Separate Membership Payment"
  5. Test Drive choosing a membership level (type) and leaving "Other Amount" blank is successful through end of workflow with correct amount for Membership showing only.
  6. PROBLEM: (Test) Receipt sent by email shows correct amount for Membership but also includes same for 'Other Amount' doubling the total.
  
  Then if I untick "Separate Membership Payment" then the correct amount appears through the workflow but then two receipts are sent; one for Contribution and one for Membership. But, the Membership receipt continues to fill in the "Other Amount" section with the Membership amount and doubles the total amount.
  
  **Tags:** civicontribute, civimember, receipts
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2016-10-29. Score: 1
  
  That definitely sounds like a bug. It's not really replicable on the demo server, because you can't get emailed receipts, but if you can replicate this on a site built with buildkit, you can file this at <https://issues.civicrm.org>.
  
  To start tracking the bug down, I'd insert the `{debug}` Smarty token into your receipt. Hopefully there's an obviously wrong variable.
  
  > **Comments:**
  > **username_0**: Jon, I entered in working SMTP and seems that the demo site is not acting this way but the Joomla demo site is not the current version or of CiviCRM either. Gonna try it on the Drupal site but not sure this is a good comparison.  
  > **username_0**: Can't get Smarty Console to work placing token {debug} in receipt. All the output is in the metadata but the console doesn't appear. Ideas?  
  > **username_1**: @username_0 The Smarty Console (I assume you mean using `&smartyDebug=1`) isn't applicable to message templates.  That only shows the Smarty for web pages - in your case, that's probably the "Message Templates" page.  The `{debug}` tag is necessary because it will inject that info into an email.  If you send yourself a test message with the `{debug}` token inserted you should get useful debugging info in the receipt you receive.  
  
  ---
  
  ### Answer by username_1 on 2016-12-07. Score: 0
  
  This appears to be the bug described in [CRM-19298](https://issues.civicrm.org/jira/browse/CRM-19298). A patch has been submitted in the last couple of days, but it's not yet in the review queue for the January release. If you have the ability to provide QA, please update the Jira ticket!
  
  
  ---
  
  