From f42c810f2bde892ee098ea5988a08eb5da6dea59 Mon Sep 17 00:00:00 2001 From: eileen Date: Thu, 6 Aug 2020 09:05:56 +1200 Subject: [PATCH] Remove stub function We used to do this, we don't now --- CRM/Core/Payment/PayflowPro.php | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/CRM/Core/Payment/PayflowPro.php b/CRM/Core/Payment/PayflowPro.php index 9eef03f0e7..0a06a3300d 100644 --- a/CRM/Core/Payment/PayflowPro.php +++ b/CRM/Core/Payment/PayflowPro.php @@ -333,18 +333,6 @@ class CRM_Core_Payment_PayflowPro extends CRM_Core_Payment { } } - /** - * NOTE: 'doTransferCheckout' not implemented - * - * @param array $params - * @param $component - * - * @throws Exception - */ - public function doTransferCheckout(&$params, $component) { - throw new CRM_Core_Exception(ts('This function is not implemented')); - } - /** * This public function checks to see if we have the right processor config values set * @@ -367,9 +355,7 @@ class CRM_Core_Payment_PayflowPro extends CRM_Core_Payment { if (!empty($errorMsg)) { return implode('

', $errorMsg); } - else { - return NULL; - } + return NULL; } /** @@ -392,9 +378,10 @@ class CRM_Core_Payment_PayflowPro extends CRM_Core_Payment { * Submit transaction using cURL * * @param string $submiturl Url to direct HTTPS GET to - * @param $payflow_query value string to be posted + * @param string $payflow_query value string to be posted * * @return mixed|object + * @throws \Civi\Payment\Exception\PaymentProcessorException */ public function submit_transaction($submiturl, $payflow_query) { // get data ready for API -- 2.25.1