CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Problem with Elavon payment processor
Pages: [1]

Author Topic: Problem with Elavon payment processor  (Read 1873 times)

ldgpangeo

  • I post occasionally
  • **
  • Posts: 38
  • Karma: 0
  • CiviCRM version: 4.2.6
  • CMS version: drupal-7.17
  • MySQL version: 5.5.23
  • PHP version: 5.3.13
Problem with Elavon payment processor
April 04, 2013, 05:57:56 pm
I've hit a curious problem with Elavon that we recently activated with CiviCRM.

If I make a donation via CiviCRM's public web form, all works perfectly with my card debited and the nonprofit's account credited.

If the back office staff record the donation (actually a membership renewal) using the "renew by credit card" link and enter the identical credit card data, Elavon returns the following error message:

9010:Error:[4009 Required Field Not Supplied The field description (ssl_description) required but not supplied in the authorization request.] - from payment processor.

Any idea what's wrong?   
Is this a bug or have I misconfigured something?


Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Problem with Elavon payment processor
April 07, 2013, 02:40:42 pm
Sounds like a bug. This patch might help - if so you should log a JIRA

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);
 
     /************************************************************************************
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

ldgpangeo

  • I post occasionally
  • **
  • Posts: 38
  • Karma: 0
  • CiviCRM version: 4.2.6
  • CMS version: drupal-7.17
  • MySQL version: 5.5.23
  • PHP version: 5.3.13
Re: Problem with Elavon payment processor
April 07, 2013, 06:35:02 pm
This appears to have fixed the problem.

Thank you very much.

Does one need to file a formal bug report in order to get this fix into the core code? 


Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Problem with Elavon payment processor
April 07, 2013, 06:54:34 pm
yep - just click on the issue tracker link - you can link to this forum post.
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Problem with Elavon payment processor

This forum was archived on 2017-11-26.