Skip to content

Commit db11d3a

Browse files
Update contribution Statues to be opt-in
1 parent 3de622b commit db11d3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/v3/Job/ProcessRecurring.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function civicrm_api3_job_process_recurring($params) {
1313
$recurringPayments = civicrm_api3('ContributionRecur', 'get', array(
1414
'next_sched_contribution_date' => 'today',
1515
'payment_processor_id' => array('IN' => array_keys($omnipayProcessors['values'])),
16-
'contribution_status_id' => array('NOT IN' => array('Cancelled', 'Failed')),
16+
'contribution_status_id' => array('IN' => array('In Progress', 'Pending', 'Overdue')),
1717
'options' => array('limit' => 0),
1818
));
1919

0 commit comments

Comments
 (0)