Answers.Body: <p>we did merge a PR fairly recently re: soft credits; I tested it extensively and it is working fine - try upgrading to the latest -dev version [best to do that on a test site - though I have some production sites running -dev at the moment]. Let us know!</p>
  
  <p>PR: <a href="https://github.com/colemanw/webform_civicrm/pull/68" rel="nofollow noreferrer">https://github.com/colemanw/webform_civicrm/pull/68</a></p>
  
  <p>Awesome - one webform -> four memberships - paid for by parent -> in four installments. That soft credits PR was a first pass at that functionality. I'm not surprised not all of these situations are accounted for (yet). </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-26T13:25:06.383Z
Answers.Text: Added! Please see above
Answers.UserDisplayName: KarinG - Semper IT
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-26T20:41:40.213Z
Answers.Text: Thx for that  Karin - so a while back but still only on -dev
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-28T01:15:45.927Z
Answers.Text: Pls note Martin's update to his Question
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-04T21:24:05.383Z
Answers.Text: I am not complaining! I am just trying to understand if the outcome of the patch was the intended result. The outcome certainly gives us much better visibility of the payment trail for which I am much appreciative.
Answers.UserDisplayName: Martin Fuggle
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-02-25T13:28:53.010Z
Answers.LastActivityDate: 2018-03-03T15:48:04.057Z
Answers.LastEditDate: 2018-03-03T15:48:04.057Z
Answers.UserDisplayName: KarinG - Semper IT
Body: <p>I have been trying to implement soft credits for memberships which are paid using a webform. I have created a webform that allows one or two parents and up to four children to create or renew a membership. Everything works just fine except that the soft credits do not contain any value.</p>
  
  <p><a href="https://drive.google.com/file/d/1bsOkwi64jNniQup12caNSxi1AWQx7gQ0/view?usp=sharing" rel="nofollow noreferrer">https://drive.google.com/file/d/1bsOkwi64jNniQup12caNSxi1AWQx7gQ0/view?usp=sharing</a></p>
  
  <p>In the webform I have selected all contacts in the soft credit drop down on the CiviCRM contribution page.</p>
  
  <p><a href="https://drive.google.com/file/d/1mnoQe5OB9vuV34Jc48AjiyvDpHUkofB-/view?usp=sharing" rel="nofollow noreferrer">https://drive.google.com/file/d/1mnoQe5OB9vuV34Jc48AjiyvDpHUkofB-/view?usp=sharing</a></p>
  
  <p>Is there something that I need to do to ensure that the soft credits show the relevant amount?</p>
  
  <p><strong>Results after application of the patch</strong></p>
  
  <p>After the patch was applied the image below shows the outcome of the patch. The soft credits now contain the total amount of the payment made by the person completing the webform for all contacts involved in the webform. I doubt that this is the intention.</p>
  
  <p>In the example below the user has made a payment for four separate memberships. Two of them have a zero value and the other two have a value of $150. It is my expectation that only two soft credits should be generated and in this instance they would be for the two junior players and show a value of $150 against each contact. This would then obviously follow through onto their individual accounts.
  This particular user has also paid in four instalments and I am not sure how that might affect the patch.</p>
  
  <p><a href="https://drive.google.com/file/d/13c8ghcsQ8BD8CPbdYVSLFUbz8EvRzusc/view?usp=sharing" rel="nofollow noreferrer">https://drive.google.com/file/d/13c8ghcsQ8BD8CPbdYVSLFUbz8EvRzusc/view?usp=sharing</a></p>
  
  <p>Cheers
  Martin Fuggle</p>
  
Tags: <webform-civicrm><soft-credit>
Title: Webform and Soft Credits
ThreadText: # Webform and Soft Credits
  
  (Asked by: username_0 on 2018-02-25)
  
  I have been trying to implement soft credits for memberships which are paid using a webform. I have created a webform that allows one or two parents and up to four children to create or renew a membership. Everything works just fine except that the soft credits do not contain any value.
  
  <https://drive.google.com/file/d/1bsOkwi64jNniQup12caNSxi1AWQx7gQ0/view?usp=sharing>
  
  In the webform I have selected all contacts in the soft credit drop down on the CiviCRM contribution page.
  
  <https://drive.google.com/file/d/1mnoQe5OB9vuV34Jc48AjiyvDpHUkofB-/view?usp=sharing>
  
  Is there something that I need to do to ensure that the soft credits show the relevant amount?
  
  **Results after application of the patch**
  
  After the patch was applied the image below shows the outcome of the patch. The soft credits now contain the total amount of the payment made by the person completing the webform for all contacts involved in the webform. I doubt that this is the intention.
  
  In the example below the user has made a payment for four separate memberships. Two of them have a zero value and the other two have a value of $150. It is my expectation that only two soft credits should be generated and in this instance they would be for the two junior players and show a value of $150 against each contact. This would then obviously follow through onto their individual accounts.
  This particular user has also paid in four instalments and I am not sure how that might affect the patch.
  
  <https://drive.google.com/file/d/13c8ghcsQ8BD8CPbdYVSLFUbz8EvRzusc/view?usp=sharing>
  
  Cheers
  username_0
  
  **Tags:** webform-civicrm, soft-credit
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-02-25. Score: 2
  
  we did merge a PR fairly recently re: soft credits; I tested it extensively and it is working fine - try upgrading to the latest -dev version [best to do that on a test site - though I have some production sites running -dev at the moment]. Let us know!
  
  PR: <https://github.com/colemanw/webform_civicrm/pull/68>
  
  Awesome - one webform -> four memberships - paid for by parent -> in four installments. That soft credits PR was a first pass at that functionality. I'm not surprised not all of these situations are accounted for (yet).
  
  > **Comments:**
  > **username_1**: Added! Please see above  
  > **username_2**: Thx for that  Karin - so a while back but still only on -dev  
  > **username_2**: Pls note Martin's update to his Question  
  > **username_0**: I am not complaining! I am just trying to understand if the outcome of the patch was the intended result. The outcome certainly gives us much better visibility of the payment trail for which I am much appreciative.  
  
  ---
  
  