Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.6.25, 4.7.15
-
Fix Version/s: 4.7.17
-
Component/s: CiviCRM API
-
Labels:
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Contributed Code
-
Verified?:No
Description
api contribute.repeattransaction fails when a recurring contribution id is used and that recur_id is for a test recurring contribution. Parameters is_test and test_contributions are not passed through either.
Steps to reproduce:
1. Make a test recurring contribution.
2. Run repeattransaction using the contribution_recur_id like so:
$result = civicrm_api3('Contribution', 'repeattransaction', array( 'contribution_status_id' => "Completed", 'contribution_recur_id' => $YOUR_TEST_RECURRING_ID, ));
Can you look at this as a possible fix? Works for me.
https://github.com/h-c-c/civicrm-core/commit/6a0aeb7fa889d1e26499dfe9c2d914ba98b3f830