Make 'Pending' the default status for Contribution.repeattransaction as that is the...
authorMatthew Wire <mjw@mjwconsult.co.uk>
Sun, 31 May 2020 12:04:11 +0000 (13:04 +0100)
committerMatthew Wire <mjw@mjwconsult.co.uk>
Sun, 31 May 2020 12:04:11 +0000 (13:04 +0100)
api/v3/Contribution.php

index 66f6cc0c93f2185124060467f4bc8f9c3432468e..859dbaed2ea223feaa6867e78b432ececd4207b3 100644 (file)
@@ -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',