CRM-18472: Notice fix
authorWeb Access <rohan.katkar@webaccessglobal.com>
Tue, 10 May 2016 13:15:45 +0000 (18:45 +0530)
committerWeb Access <rohan.katkar@webaccessglobal.com>
Tue, 10 May 2016 13:15:45 +0000 (18:45 +0530)
CRM/Core/Payment/Elavon.php

index 9e5f68405f1ed1ecc3173e596a1fdb884e672cb2..b322859fe87751a40288b60a365f6eea09943f48 100644 (file)
@@ -133,8 +133,8 @@ class CRM_Core_Payment_Elavon extends CRM_Core_Payment {
 
     // define variables for connecting with the gateway
     $requestFields['ssl_merchant_id'] = $this->_paymentProcessor['user_name'];
-    $requestFields['ssl_user_id'] = $this->_paymentProcessor['password'];
-    $requestFields['ssl_pin'] = $this->_paymentProcessor['signature'];
+    $requestFields['ssl_user_id'] = CRM_Utils_Array::value('password', $this->_paymentProcessor);
+    $requestFields['ssl_pin'] = CRM_Utils_Array::value('signature', $this->_paymentProcessor);
     $host = $this->_paymentProcessor['url_site'];
 
     if ($this->_mode == "test") {