Answers.Body: <p>Webform-CiviCRM integration was designed to be able to sign up multiple members plus collect a contribution. It will save a single contribution record containing a separate line-item for each (2 memberships + a donation = 3 line items).</p>
  
  <p>There are some key settings that are required:</p>
  
  <ul>
  <li>Contributions (in Webform CiviCRM section): Should be set to your Donation Contribution page and <em>not</em> your Membership Contribution page if you created one</li>
  <li>Memberships Tab (in Webform CiviCRM section): Should be set to one</li>
  </ul>
  
  <p>With those settings above and any other data that you would like to collect you will be able to receive a donation and membership purchase on the same transaction.</p>
  
  <p>Adding some examples:</p>
  
  <p><a href="https://i.sstatic.net/u9imP.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/u9imP.png" alt="enter image description here"></a></p>
  
  <p>So on a contribution level these look like Donations -> so you must pull LineItem reports; this one is a good one (from Fuzion's Extended Reports): civicrm/report/price/contributionbased?reset=1</p>
  
  <p><a href="https://i.sstatic.net/ynNW0.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/ynNW0.png" alt="enter image description here"></a></p>
  
  <p>Adding some more screenshots:</p>
  
  <p>Contribution page config (also enabled a Payment Processor); but I don't even have Membership section enabled here;</p>
  
  <p><a href="https://i.sstatic.net/EO96x.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/EO96x.png" alt="enter image description here"></a></p>
  
  <p>Webform CiviCRM config [I've hidden Membership type as there really is only one];</p>
  
  <p><a href="https://i.sstatic.net/ae4BB.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/ae4BB.png" alt="enter image description here"></a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-29T14:55:15.467Z
Answers.Text: On the tests I ran, it created a single contribution (financial type donation) 
  the contribution record didn't break this down further (m'ship fee + donation)
  
  
  Running a payment directly through the linked contribution page created two separate contribution records.
Answers.UserDisplayName: Craig Almond
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-29T18:28:13.430Z
Answers.Text: As far as I can see, when we set up a webform to take payment for both an event and a membership, we got a single contribution with a single line item. Perhaps there is something both Craig and I are missing in the webform set up.
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-29T18:31:09.503Z
Answers.Text: That's odd, it's certainly *supposed* to create line items for each entity.
Answers.UserDisplayName: Coleman
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-30T07:29:49.123Z
Answers.Text: I'm pretty sure we are using this for a client and creating the line items. Let me see if there was anything bespoke done. J
Answers.UserDisplayName: Jamie Novick - Compucorp
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-30T10:00:25.580Z
Answers.Text: Webform creates separate line items when you pay for different items. I can confirm this under the environment of Civi4.6.8 + latest webform civicrm module.
Answers.UserDisplayName: Guanhuan
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2015-09-28T00:26:15.003Z
Answers.LastActivityDate: 2018-05-06T02:00:37.057Z
Answers.LastEditDate: 2018-05-06T02:00:37.057Z
Answers.UserDisplayName: Coleman
Answers.Body: <p>I suspect Webform does not handled that, so yes you might need to either do the Membership page, then pass them on to a Webform to add their related people, or vv</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-24T20:30:33.803Z
Answers.LastActivityDate: 2015-09-24T20:30:33.803Z
Answers.UserDisplayName: petednz - fuzion
Body: <p>Working on a Civi 4.5.5 site. I've configured a membership renewal contribution page to record a membership fee, and (voluntary) additional donation.</p>
  
  <p>By setting the Contribution Page Financial Type to "Donation", and selecting "Separate Membership Payment" on the Membership tab. When entering a test payment, two contribution records were created with one of type "Donation" and one of type "Membership Fee". As expected.</p>
  
  <p>Renewal is easy, because we are only capturing info for the Primary member.</p>
  
  <p>The membership type extends by relationship to other family members. so the organisation want a membership webform to capture contact details of the related individuals (spouse//partner, and offspring) on initial sign up.</p>
  
  <p>When testing the webform to collect an additional donation on sign up, only 1 contribution was recorded (equal to the value of the membership fee and the donation- but labelled as a donation).</p>
  
  <p>Is it just that the create separate payments option doesn't work with the current civi/webform integration? In which case I need to discuss what is more important with the organisation.</p>
  
  <p>Or am I missing something blindingly obvious? Has anyone been able to get this to work?</p>
  
  <p><em>thought of this after pressing save</em>
  Should I collect related contact data in the webform, then re-direct to membership contribution page which will populate with Contact 1's data and allow the separate payments to work as expected?</p>
  
  <p>Cheers</p>
  
  <p>Craig</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-09-24T20:18:41.117Z
Comments.Text: Did you enable the "contribution amount" field on the webform?
Comments.UserDisplayName: Coleman
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-09-29T14:38:24.323Z
Comments.Text: Hi Coleman,
  
  Yes Contribution amount is added.
  
  Craig
Comments.UserDisplayName: Craig Almond
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-09-29T15:07:17.927Z
Comments.Text: Hi Coleman and Pete
  
  Thanks for your input 
  
  I think the form won't quite do what I want. Talking to the client, they are happy that the form does take a membership payment and an additional donation, and are satisfied with that functionality.
  
  I wanted to split payment into two contribution records so that the donation could be further processed for Gift Aid.
  
  To get all the features I'd have to create a webform for contact details and a contribution page for the payments and customise the redirect link from one to the other. Which is currently beyond my capabilities.
Comments.UserDisplayName: Craig Almond
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-09-29T18:11:07.010Z
Comments.Text: I think you'll find certain civi reports will allow you to drill down into the individual line-items being created under the umbrella of that single contribution record.
Comments.UserDisplayName: Coleman
Tags: <civimember><webform-civicrm><contributions><donations>
Title: Recording Separate Contributions in a Membership Webform
ThreadText: # Recording Separate Contributions in a Membership Webform
  
  (Asked by: username_0 on 2015-09-24)
  
  Working on a Civi 4.5.5 site. I've configured a membership renewal contribution page to record a membership fee, and (voluntary) additional donation.
  
  By setting the Contribution Page Financial Type to "Donation", and selecting "Separate Membership Payment" on the Membership tab. When entering a test payment, two contribution records were created with one of type "Donation" and one of type "Membership Fee". As expected.
  
  Renewal is easy, because we are only capturing info for the Primary member.
  
  The membership type extends by relationship to other family members. so the organisation want a membership webform to capture contact details of the related individuals (spouse//partner, and offspring) on initial sign up.
  
  When testing the webform to collect an additional donation on sign up, only 1 contribution was recorded (equal to the value of the membership fee and the donation- but labelled as a donation).
  
  Is it just that the create separate payments option doesn't work with the current civi/webform integration? In which case I need to discuss what is more important with the organisation.
  
  Or am I missing something blindingly obvious? Has anyone been able to get this to work?
  
  *thought of this after pressing save*
  Should I collect related contact data in the webform, then re-direct to membership contribution page which will populate with Contact 1's data and allow the separate payments to work as expected?
  
  Cheers
  
  Craig
  
  **Tags:** civimember, webform-civicrm, contributions, donations
  
  > **Comments:**
  > **username_1**: Did you enable the "contribution amount" field on the webform?  
  > **username_0**: Hi username_1,  Yes Contribution amount is added.  Craig  
  > **username_0**: Hi username_1 and Pete  Thanks for your input   I think the form won't quite do what I want. Talking to the client, they are happy that the form does take a membership payment and an additional donation, and are satisfied with that functionality.  I wanted to split payment into two contribution records so that the donation could be further processed for Gift Aid.  To get all the features I'd have to create a webform for contact details and a contribution page for the payments and customise the redirect link from one to the other. Which is currently beyond my capabilities.  
  > **username_1**: I think you'll find certain civi reports will allow you to drill down into the individual line-items being created under the umbrella of that single contribution record.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2015-09-28. Score: 6
  
  Webform-CiviCRM integration was designed to be able to sign up multiple members plus collect a contribution. It will save a single contribution record containing a separate line-item for each (2 memberships + a donation = 3 line items).
  
  There are some key settings that are required:
  
  * Contributions (in Webform CiviCRM section): Should be set to your Donation Contribution page and *not* your Membership Contribution page if you created one
  * Memberships Tab (in Webform CiviCRM section): Should be set to one
  
  With those settings above and any other data that you would like to collect you will be able to receive a donation and membership purchase on the same transaction.
  
  Adding some examples:
  
  [![enter image description here](https://i.sstatic.net/u9imP.png)](https://i.sstatic.net/u9imP.png)
  
  So on a contribution level these look like Donations -> so you must pull LineItem reports; this one is a good one (from Fuzion's Extended Reports): civicrm/report/price/contributionbased?reset=1
  
  [![enter image description here](https://i.sstatic.net/ynNW0.png)](https://i.sstatic.net/ynNW0.png)
  
  Adding some more screenshots:
  
  Contribution page config (also enabled a Payment Processor); but I don't even have Membership section enabled here;
  
  [![enter image description here](https://i.sstatic.net/EO96x.png)](https://i.sstatic.net/EO96x.png)
  
  Webform CiviCRM config [I've hidden Membership type as there really is only one];
  
  [![enter image description here](https://i.sstatic.net/ae4BB.png)](https://i.sstatic.net/ae4BB.png)
  
  > **Comments:**
  > **username_0**: On the tests I ran, it created a single contribution (financial type donation)  the contribution record didn't break this down further (m'ship fee + donation)   Running a payment directly through the linked contribution page created two separate contribution records.  
  > **username_2**: As far as I can see, when we set up a webform to take payment for both an event and a membership, we got a single contribution with a single line item. Perhaps there is something both Craig and I are missing in the webform set up.  
  > **username_1**: That's odd, it's certainly *supposed* to create line items for each entity.  
  > **username_3**: I'm pretty sure we are using this for a client and creating the line items. Let me see if there was anything bespoke done. J  
  > **username_4**: Webform creates separate line items when you pay for different items. I can confirm this under the environment of Civi4.6.8 + latest webform civicrm module.  
  
  ---
  
  ### Answer by username_2 on 2015-09-24. Score: 1
  
  I suspect Webform does not handled that, so yes you might need to either do the Membership page, then pass them on to a Webform to add their related people, or vv
  
  
  ---
  
  