diff --git a/CRM/eWAYRecurring/ProcessTrait.php b/CRM/eWAYRecurring/ProcessTrait.php index e73a7bf..3197865 100644 --- a/CRM/eWAYRecurring/ProcessTrait.php +++ b/CRM/eWAYRecurring/ProcessTrait.php @@ -348,7 +348,6 @@ public function process_recurring_payments() { } protected function update_contribution_status($next_sched, $contribution) { - $d_now = new DateTime(); if ($next_sched) { CRM_Core_DAO::setFieldValue('CRM_Contribute_DAO_ContributionRecur', $contribution->id, @@ -363,7 +362,7 @@ protected function update_contribution_status($next_sched, $contribution) { CRM_Core_DAO::setFieldValue('CRM_Contribute_DAO_ContributionRecur', $contribution->id, 'end_date', - CRM_Utils_Date::isoToMysql($d_now)); + date('YmdHis')); } } diff --git a/info.xml b/info.xml index f78ef6d..7cc1e79 100644 --- a/info.xml +++ b/info.xml @@ -15,8 +15,8 @@ support@agileware.com.au stable - 2023-10-04 - 2.6.3 + 2023-12-15 + 2.6.4 5.38