Answers.Body: <p>I think Webform is behaving correctly. The memberships are being renewed and a single payment is being recorded - that accurately reflects what happened when the form was submitted (it was one payment by one person, not several).</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-23T03:23:25.877Z
Answers.Text: Is it possible to see what the breakdown of the payment is since we now lose the association of the payment with the contact/membership record?
Answers.UserDisplayName: Martin Fuggle
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-23T06:50:20.097Z
Answers.Text: It seems there are some issues when using a civicrm/webform to manage multiple contacts each with an associated membership type. It is true what Coleman says that the person submitting the form is the one who attracts the total payment.
  There is no place where the breakdown of the individual membership fees can be displayed or reported (at least not as far as I can tell) when the webform is used in test mode (maybe it is different in live mode).
  A search for contributions displays a single contribution with no breakdown. This makes it difficult to use in production. I hope I am wrong.
Answers.UserDisplayName: Martin Fuggle
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-23T07:34:59.957Z
Answers.Text: It'll work the same way in production. Try turning soft credits on.
Answers.UserDisplayName: Christia
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-23T08:11:36.407Z
Answers.Text: I did and it still sums the fees and posts them to the primary contact. I'll do that again just to make sure that I did it correctly.
Answers.UserDisplayName: Martin Fuggle
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-23T08:23:20.727Z
Answers.Text: I turned on soft credits and tested again and I get the same result. The sum of the memberships are posted to the primary (submitting) contact. I must be missing something because even if I turn on soft credit the contribution created is not a soft credit with associated hard credits.
Answers.UserDisplayName: Martin Fuggle
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-23T09:31:03.837Z
Answers.Text: Hmm - when I try to view the contribution I get an error:
  
  CiviCRM_API3_Exception: "Expected one PriceSet but found 25"
  
  which must be the cause of the problem I am having. Does anyone know what might cause this?
Answers.UserDisplayName: Martin Fuggle
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-23T03:21:23.277Z
Answers.LastActivityDate: 2017-01-23T03:21:23.277Z
Answers.UserDisplayName: Coleman
Body: <p>I have multiple contacts in a webform (a family). Each contact can have a membership type with an associated fee. I want each contact to be have their membership renewed and the fee associated with their contact record and membership. What's happening at the moment is that the sum of membership fees is being charged to the primary contact (the one submitting the form). All individual memberships are being correctly renewed but without the associated membership fee attached to the membership record. I have soft credit set to none.</p>
  
  <p>I have been unable to see where I am going wrong.</p>
  
Tags: <civimember><webform-civicrm>
Title: CiviCRM Webform membership Payments
ThreadText: # CiviCRM Webform membership Payments
  
  (Asked by: username_0 on 2017-01-23)
  
  I have multiple contacts in a webform (a family). Each contact can have a membership type with an associated fee. I want each contact to be have their membership renewed and the fee associated with their contact record and membership. What's happening at the moment is that the sum of membership fees is being charged to the primary contact (the one submitting the form). All individual memberships are being correctly renewed but without the associated membership fee attached to the membership record. I have soft credit set to none.
  
  I have been unable to see where I am going wrong.
  
  **Tags:** civimember, webform-civicrm
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-01-23. Score: 2
  
  I think Webform is behaving correctly. The memberships are being renewed and a single payment is being recorded - that accurately reflects what happened when the form was submitted (it was one payment by one person, not several).
  
  > **Comments:**
  > **username_0**: Is it possible to see what the breakdown of the payment is since we now lose the association of the payment with the contact/membership record?  
  > **username_0**: It seems there are some issues when using a civicrm/webform to manage multiple contacts each with an associated membership type. It is true what username_1 says that the person submitting the form is the one who attracts the total payment. There is no place where the breakdown of the individual membership fees can be displayed or reported (at least not as far as I can tell) when the webform is used in test mode (maybe it is different in live mode). A search for contributions displays a single contribution with no breakdown. This makes it difficult to use in production. I hope I am wrong.  
  > **username_2**: It'll work the same way in production. Try turning soft credits on.  
  > **username_0**: I did and it still sums the fees and posts them to the primary contact. I'll do that again just to make sure that I did it correctly.  
  > **username_0**: I turned on soft credits and tested again and I get the same result. The sum of the memberships are posted to the primary (submitting) contact. I must be missing something because even if I turn on soft credit the contribution created is not a soft credit with associated hard credits.  
  > **username_0**: Hmm - when I try to view the contribution I get an error:  CiviCRM_API3_Exception: "Expected one PriceSet but found 25"  which must be the cause of the problem I am having. Does anyone know what might cause this?  
  
  ---
  
  