Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.5
-
Fix Version/s: 4.5.1
-
Component/s: CiviContribute, CiviCRM API
-
Labels:None
-
Documentation Required?:Developer Doc
Description
Contribution create api still supports use of 'legacy' soft_credit_to parameter. However, the expected soft_credit_type_id is not set with this usage.
1. Modify civicrm_api3_contribution_create to pass default soft_credit_type_id when the simple soft_credit_to param is used.
2. Also add legacy support for honor_contact_id param.
3. Update api unit test to check on both the legacy and the chained methods.