From d6de72c6151b71f2c182476f1cea5c0bbabd3066 Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Sun, 31 May 2020 13:04:11 +0100 Subject: [PATCH] Make 'Pending' the default status for Contribution.repeattransaction as that is the preferred way to call this API --- api/v3/Contribution.php | 1 + 1 file changed, 1 insertion(+) diff --git a/api/v3/Contribution.php b/api/v3/Contribution.php index 66f6cc0c93..859dbaed2e 100644 --- a/api/v3/Contribution.php +++ b/api/v3/Contribution.php @@ -709,6 +709,7 @@ function _civicrm_api3_contribution_repeattransaction_spec(&$params) { 'optionGroupName' => 'contribution_status', ], 'api.required' => TRUE, + 'api.default' => 'Pending', ]; $params['receive_date'] = [ 'title' => 'Contribution Receive Date', -- 2.25.1