From d1cfe880d8e70fdf36bd15ae97432b8fa72f207d Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Sat, 13 Jun 2020 12:47:52 +0100 Subject: [PATCH] Access the method not the property directly to check if a payment processor supports recurring --- CRM/Contribute/Form/AbstractEditPayment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contribute/Form/AbstractEditPayment.php b/CRM/Contribute/Form/AbstractEditPayment.php index 2da02dcda55f..3e7fd687405f 100644 --- a/CRM/Contribute/Form/AbstractEditPayment.php +++ b/CRM/Contribute/Form/AbstractEditPayment.php @@ -361,7 +361,7 @@ public function assignProcessors() { if (!empty($processor['description'])) { $this->_processors[$id] .= ' : ' . $processor['description']; } - if ($processor['is_recur']) { + if ($this->_paymentProcessors[$id]['object']->supportsRecurring()) { $this->_recurPaymentProcessors[$id] = $this->_processors[$id]; } }