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) »
  • admin credit card processing for contributions and memberships
Pages: [1]

Author Topic: admin credit card processing for contributions and memberships  (Read 3368 times)

dalin

  • I post occasionally
  • **
  • Posts: 89
  • Karma: 8
  • CiviCRM version: many
  • CMS version: Drupal 6
  • MySQL version: 5.0
  • PHP version: 5.2
admin credit card processing for contributions and memberships
June 06, 2007, 03:55:32 pm
We have a client that is needing the ability to have administrators process credit card deductions for contributions and memberships.  So that they can do things like take new memberships by phone.  Does anyone have ideas for how to implement this? 

My original idea is to copy functionality from the Drupal Masquerade module.  Which would basically switch to the contact's Drupal user, the admin then visits the contribution pages as the contact, and then after the payment is processed switch back to the admin user.  The downside of this technique is that there needs to be a Drupal user for the contact, and if not then we need to create one.  Though the upside is that then the contact has the ability to log in to the website to renew etc.

Ideally we could look at getting a less hacky method into core civicrm.  I'm guessing that many organizations would benefit from this. 
--
Dave Hansen-Lange
Web Developer
Advomatic LLC
http://advomatic.com
Hong Kong office

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: admin credit card processing for contributions and memberships
June 06, 2007, 07:12:14 pm

Dave:

here's one proposed workflow. lets assume we only do this for payment processors like PayPal Web Payment Pro, Authorize.net or Moneris (where u can collect credit card and send over a request/get response etc)

1. introduce option to enable "real-time" contrib in offline contribution page and payment processor to be used

2. if enabled add credit card fields and billing info fields to form

3. in postProcess make the right calls (the code is there already) to process the contrib

We reuse a lot of the code we already have, we continue our policy of NOT storing credit cards in DB and we implement a useful feature :)

If this is super important, we could potentially get this in the 1.8 release (code freeze is 10 days away). I suspect this will take between 30-50 hours to make it generic and integrated etc. We can chat on IRC with regard to more details.

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

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: admin credit card processing for contributions and memberships
June 08, 2007, 05:48:51 pm

I have created an issue for this feature (and mostly implemented it) at:

http://issues.civicrm.org/jira/browse/CRM-1987

This enables admin to make contributions on behalf of a user for certain payment processors. We dont currently handle memberships, but i suspect we can find a work around for this for 1.8

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

dalin

  • I post occasionally
  • **
  • Posts: 89
  • Karma: 8
  • CiviCRM version: many
  • CMS version: Drupal 6
  • MySQL version: 5.0
  • PHP version: 5.2
Re: admin credit card processing for contributions and memberships
June 09, 2007, 10:42:11 am
Once again lobo you've gone above and beyond. 

Thanks
--
Dave Hansen-Lange
Web Developer
Advomatic LLC
http://advomatic.com
Hong Kong office

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • admin credit card processing for contributions and memberships

This forum was archived on 2017-11-26.