From 83e84b048ae115b05b9aa35b340e6d38b6f6c808 Mon Sep 17 00:00:00 2001 From: eileenmcnaughton Date: Mon, 29 Jun 2015 21:42:43 +0000 Subject: [PATCH] enotice fix --- CRM/Core/Payment/AuthorizeNet.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CRM/Core/Payment/AuthorizeNet.php b/CRM/Core/Payment/AuthorizeNet.php index 4e1eee9334..79a8381338 100644 --- a/CRM/Core/Payment/AuthorizeNet.php +++ b/CRM/Core/Payment/AuthorizeNet.php @@ -52,11 +52,10 @@ class CRM_Core_Payment_AuthorizeNet extends CRM_Core_Payment { $this->_paymentProcessor = $paymentProcessor; $this->_processorName = ts('Authorize.net'); - $config = CRM_Core_Config::singleton(); $this->_setParam('apiLogin', $paymentProcessor['user_name']); $this->_setParam('paymentKey', $paymentProcessor['password']); $this->_setParam('paymentType', 'AIM'); - $this->_setParam('md5Hash', $paymentProcessor['signature']); + $this->_setParam('md5Hash', CRM_Utils_Array::value('signature', $paymentProcessor)); $this->_setParam('emailCustomer', 'TRUE'); $this->_setParam('timestamp', time()); -- 2.25.1