Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.2.6
-
Fix Version/s: 4.3.0
-
Component/s: CiviContribute
-
Labels:None
Description
Elavon payments were returning a 4009: required field not supplied from Elavon when paying via back offic but not when paying over public web forms.
User Eileen fixed it with following patch
Index: CRM/Core/Payment/Elavon.php
===================================================================
— CRM/Core/Payment/Elavon.php (revision 45716)
+++ CRM/Core/Payment/Elavon.php (working copy)
@@ -104,7 +104,7 @@
// 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);
/************************************************************************************
I'm reporting it here to get it into the future releases/bugfixes.
Problem is described and fixed at http://forum.civicrm.org/index.php/topic,28265.0.html