From e4442091dd7bf43b74288261484dde813d014d26 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Mon, 8 Apr 2013 13:23:17 -0700 Subject: [PATCH] Fix Elavon backoffice payments CRM-12295 --- CRM/Core/Payment/Elavon.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/Payment/Elavon.php b/CRM/Core/Payment/Elavon.php index 1111374e9b..9bd0105e46 100644 --- a/CRM/Core/Payment/Elavon.php +++ b/CRM/Core/Payment/Elavon.php @@ -104,7 +104,7 @@ class CRM_Core_Payment_Elavon extends CRM_Core_Payment { // 32 character string $requestFields['ssl_invoice_number'] = $params['invoiceID']; $requestFields['ssl_transaction_type'] = "CCSALE"; - $requestFields['ssl_description'] = $params['description']; + $requestFields['ssl_description'] = empty($params['description']) ? "backoffice payment" : $params['description']; $requestFields['ssl_customer_number'] = substr($params['credit_card_number'], -4); /************************************************************************************ -- 2.25.1