From fda30806267b145ebaaca0edea0a99daf2412729 Mon Sep 17 00:00:00 2001 From: "Matthew Wire (MJW Consulting)" Date: Wed, 13 Nov 2019 18:47:58 +1300 Subject: [PATCH] Fix retrieving contribution_status_id for manual payment processor --- CRM/Core/Payment/Manual.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/Payment/Manual.php b/CRM/Core/Payment/Manual.php index deaff4090748..be4a171c9667 100644 --- a/CRM/Core/Payment/Manual.php +++ b/CRM/Core/Payment/Manual.php @@ -117,7 +117,7 @@ public function doPayment(&$params, $component = 'contribute') { */ protected function getResult() { if (!$this->result) { - $this->setResult(CRM_Core_PseudoConstant::getKey('CRM_Contribute_BAO_Contribution', 'status_id', 'Pending')); + $this->setResult(CRM_Core_PseudoConstant::getKey('CRM_Contribute_BAO_Contribution', 'contribution_status_id', 'Pending')); } return $this->result; }