From eee81f5a7c0ca4d57e09c032ffccb690d0877329 Mon Sep 17 00:00:00 2001 From: Allen Shaw Date: Mon, 18 May 2020 17:53:32 -0500 Subject: [PATCH] Toward fix for dev/core#1608: correct date format for trxn_date. --- CRM/Core/Payment/PayPalProIPN.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/Payment/PayPalProIPN.php b/CRM/Core/Payment/PayPalProIPN.php index 885fac970f..46c0949f85 100644 --- a/CRM/Core/Payment/PayPalProIPN.php +++ b/CRM/Core/Payment/PayPalProIPN.php @@ -588,7 +588,7 @@ INNER JOIN civicrm_membership_payment mp ON m.id = mp.membership_id AND mp.contr // & suspec main function may be a victom of copy & paste // membership would be an easy add - but not relevant to my customer... $this->_component = $input['component'] = 'contribute'; - $input['trxn_date'] = date('Y-m-d-H-i-s', strtotime(self::retrieve('time_created', 'String'))); + $input['trxn_date'] = date('Y-m-d H:i:s', strtotime(self::retrieve('time_created', 'String'))); $paymentProcessorID = $contributionRecur['payment_processor_id']; if (!$this->validateData($input, $ids, $objects, TRUE, $paymentProcessorID)) { -- 2.25.1