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 »
  • Community Contributed Payment Processors »
  • Eway - creating a contribution page without security code?
Pages: [1]

Author Topic: Eway - creating a contribution page without security code?  (Read 2933 times)

scrubba

  • I post occasionally
  • **
  • Posts: 31
  • Karma: 2
  • CiviCRM version: 4.6.2
  • CMS version: Wordpress 4.2
Eway - creating a contribution page without security code?
June 08, 2009, 07:23:57 pm
Hi all
I am located in Australia and successfully using Peter Barwell's great eway payment processor for multiple contribution pages.

My issue is that I would like to set up a single contribution page for staff without the security code as a required field.
This is so staff can manually process donations where they have card number and signature,
but i need the security code for the other public contribution pages.

I see from Peter Barwell's notes in eway.php that eway accepts such contibutions using the "Live gateway without CVN" option.
I just can't successfully remove the security code option from a single contribution page.

I note http://forum.civicrm.org/index.php/topic,3577.msg15908.html#msg15908
and have tried to comment out "cvv2" elements in CRM/Core/Payment/Form.php
But both options change all contribution pages.

1) Is the best path to create a new payment processor with the different live gateway,

And

2) what elements do i have to change to remove security code  - or at least just make the "is required" false for just the one page?

Scrubba


Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Eway - creating a contribution page without security code?
June 09, 2009, 06:57:08 am

you will need to edit:

CRM/Core/Payment/Form.php
templates/CRM/Core/BillingBlock.tpl

and search for cvv2 and remove it from those files

lobo


A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute »
  • Community Contributed Payment Processors »
  • Eway - creating a contribution page without security code?

This forum was archived on 2017-11-26.