Answers.Body: <p>You can use soft credit section of the contribution form...</p>
  <p>Create a contribution for donor but under soft credit section include student contact</p>
  <p>Ref: <a href="https://docs.civicrm.org/user/en/latest/contributions/soft-credits/" rel="nofollow noreferrer">https://docs.civicrm.org/user/en/latest/contributions/soft-credits/</a></p>
  <p>If you need more than 10 soft credit record for payment than implement preprocess hook via civicrm extension or wp plugin to add the number of count, something like</p>
  <pre><code>function modulename_civicrm_preProcess($formName, &amp;$form) {
    if ($formName == 'CRM_Contribute_Form_Contribution') {
      $form-&gt;setVar('_softCreditItemCount', 100);
    }
  
  }
  </code></pre>
  <p>or install the <a href="https://github.com/pradpnayak/contributionsoftcreditlimit" rel="nofollow noreferrer">extension</a> in civicrm and add below line in end of civicrm.settings.php file</p>
  <pre><code>$civicrm_setting['CiviCRM Preferences']['contributionsoftcredit_limit'] = 100;
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-09-25T08:02:46.560Z
Answers.Text: Hi, i review Soft credit in new Contribution but i see maximum 10 row in each contribution. but my Donor donation for 100 students and more...can you help me more idea
Answers.UserDisplayName: Hai kao
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-09-25T08:12:01.320Z
Answers.Text: can you split the amount in 10 payments?
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-09-25T08:13:06.553Z
Answers.Text: Or via buildform hook try to support 100 rows
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-09-25T09:19:07.190Z
Answers.Text: Hi, i can't split 10 payment, because my Donor bank transfer 1 time, difficult for accounting record. buildform hook?
Answers.UserDisplayName: Hai kao
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-09-25T09:44:36.943Z
Answers.Text: Can i update go to menu Support -> Developer -> API Explorer v3 (or v4 but my screenshot is in v3)
  choose entity ContributionSoft, Action create and set value for Contribution, Soft Credit Amount and Contact ID
  Then use Execute button, i not see ContributionSoft in v4
Answers.UserDisplayName: Hai kao
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-09-25T09:44:43.440Z
Answers.Text: uodated my answer
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-09-25T09:52:54.567Z
Answers.Text: If you need more than 10 soft credit record for payment than implement preprocess hook via civicrm extension or wp plugin to add the number of count, something like
  
  function modulename_civicrm_preProcess($formName, &$form) {
    if ($formName == 'CRM_Contribute_Form_Contribution') {
      $form->setVar('_softCreditItemCount', 100);
    }
  
  }
  sorry, can you help me explain, hehe.
Answers.UserDisplayName: Hai kao
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-09-25T10:44:58.087Z
Answers.Text: Provided you extension, updated the answer
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-09-25T07:37:28.677Z
Answers.LastActivityDate: 2020-09-25T10:44:35.753Z
Answers.LastEditDate: 2020-09-25T10:44:35.753Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>i doing customize CiviCRM 5.29.1 for Wordpress 5.5.1 last version.</p>
  <p>i have create 2 contact type individual: Donor, Student</p>
  <p>Donor donation money for student. Donation money allocate to student. student have money for study</p>
  <p>Ex:</p>
  <ul>
  <li><p>Donor(Tomy) donation $500 for student(David) in 2019</p>
  </li>
  <li><p>Donor(Tomy) donation $500 for student(David) in 2020</p>
  </li>
  <li><p>Donor(Tomy) donation $500 for student(David) in 2020</p>
  </li>
  <li><p>....</p>
  </li>
  <li><p>Donor(Nancy) donation $200 for student(Olive) in 2019</p>
  </li>
  <li><p>Donor(Nancy) donation $400 for student(Olive) in 2020
  ...</p>
  </li>
  </ul>
  <p>I want when view student then see all history donation from Donor.
  and when view Donor then see all history donation for student.</p>
  <p>How can do that?
  i try create new Contribution but i only see contribution from Donor but i not see Contribution allocate to Student.</p>
  <p>please help me, sorry my english not good. hihi</p>
  <p>i attached new Contribution
  <a href="https://i.sstatic.net/HT744.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/HT744.jpg" alt="enter image description here" /></a></p>
  <p>+++++++++
  Soft Credit have maximum 10 row for each contribution. but Donor donation $10,000 for 100 students.
  <a href="https://i.sstatic.net/Ogu8H.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Ogu8H.jpg" alt="enter image description here" /></a></p>
  
Tags: <civicontribute>
Title: Allocate money from Donor to student
ThreadText: # Allocate money from Donor to student
  
  (Asked by: username_0 on 2020-09-25)
  
  i doing customize CiviCRM 5.29.1 for Wordpress 5.5.1 last version.
  
  i have create 2 contact type individual: Donor, Student
  
  Donor donation money for student. Donation money allocate to student. student have money for study
  
  Ex:
  
  * Donor(Tomy) donation $500 for student(David) in 2019
  * Donor(Tomy) donation $500 for student(David) in 2020
  * Donor(Tomy) donation $500 for student(David) in 2020
  * ....
  * Donor(Nancy) donation $200 for student(Olive) in 2019
  * Donor(Nancy) donation $400 for student(Olive) in 2020
    ...
  
  I want when view student then see all history donation from Donor.
  and when view Donor then see all history donation for student.
  
  How can do that?
  i try create new Contribution but i only see contribution from Donor but i not see Contribution allocate to Student.
  
  please help me, sorry my english not good. hihi
  
  i attached new Contribution
  [![enter image description here](https://i.sstatic.net/HT744.jpg)](https://i.sstatic.net/HT744.jpg)
  
  +++++++++
  Soft Credit have maximum 10 row for each contribution. but Donor donation $10,000 for 100 students.
  [![enter image description here](https://i.sstatic.net/Ogu8H.jpg)](https://i.sstatic.net/Ogu8H.jpg)
  
  **Tags:** civicontribute
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-09-25. Score: 1
  
  You can use soft credit section of the contribution form...
  Create a contribution for donor but under soft credit section include student contact
  Ref: https://docs.civicrm.org/user/en/latest/contributions/soft-credits/
  If you need more than 10 soft credit record for payment than implement preprocess hook via civicrm extension or wp plugin to add the number of count, something like
  function modulename_civicrm_preProcess($formName, &$form) {
    if ($formName == 'CRM_Contribute_Form_Contribution') {
      $form->setVar('_softCreditItemCount', 100);
    }
  
  }
  
  or install the extension in civicrm and add below line in end of civicrm.settings.php file
  $civicrm_setting['CiviCRM Preferences']['contributionsoftcredit_limit'] = 100;
  
  > **Comments:**
  > **username_0**: Hi, i review Soft credit in new Contribution but i see maximum 10 row in each contribution. but my Donor donation for 100 students and more...can you help me more idea  
  > **username_1**: can you split the amount in 10 payments?  
  > **username_1**: Or via buildform hook try to support 100 rows  
  > **username_0**: Hi, i can't split 10 payment, because my Donor bank transfer 1 time, difficult for accounting record. buildform hook?  
  > **username_0**: Can i update go to menu Support -> Developer -> API Explorer v3 (or v4 but my screenshot is in v3) choose entity ContributionSoft, Action create and set value for Contribution, Soft Credit Amount and Contact ID Then use Execute button, i not see ContributionSoft in v4  
  > **username_1**: uodated my answer  
  > **username_0**: If you need more than 10 soft credit record for payment than implement preprocess hook via civicrm extension or wp plugin to add the number of count, something like  function modulename_civicrm_preProcess($formName, &$form) {   if ($formName == 'CRM_Contribute_Form_Contribution') {     $form->setVar('_softCreditItemCount', 100);   }  } sorry, can you help me explain, hehe.  
  > **username_1**: Provided you extension, updated the answer  
  
  ---
  
  