From b9cba9ac02a98a10567999130256a60532a03ade Mon Sep 17 00:00:00 2001 From: Chris Burgess Date: Sat, 5 May 2018 09:06:27 +1200 Subject: [PATCH] PR#12083 - Noting that getRecurringTransactionStatus() appears to not return a value. --- CRM/Core/Payment/PayflowPro.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CRM/Core/Payment/PayflowPro.php b/CRM/Core/Payment/PayflowPro.php index ac03e6e84e..6712c0e519 100644 --- a/CRM/Core/Payment/PayflowPro.php +++ b/CRM/Core/Payment/PayflowPro.php @@ -637,7 +637,10 @@ class CRM_Core_Payment_PayflowPro extends CRM_Core_Payment { $nvpArray[$keyval] = $valval; $result = substr($result, $valuepos + 1, strlen($result)); } - // get the result code to validate. + + // @TODO Function is named getRecurringTransactionStatus() which + // suggests it returns a result. It sets a $result_code but doesn't return + // it, printing output instead? $result_code = $nvpArray['RESULT']; print_r($responseData); -- 2.25.1