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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Authorize.net AIM Authorization Only
Pages: [1]

Author Topic: Authorize.net AIM Authorization Only  (Read 2722 times)

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Authorize.net AIM Authorization Only
April 26, 2010, 11:17:00 am
Authorize.net AIM provides several Credit Card Transaction Types:

  • Authorization and Capture         
  • Authorization Only               
  • Prior Authorization and Capture   
  • Capture Only                     
  • Credit                           
  • Unlinked Credit                   
  • Void                             
  • Visa Verification Transactions   

CiviCRM presently (AFAIAA) supports only "Authorization and Capture." We are interested to add support for "Authorization Only," "Prior Authorization and Capture," "Credit" and also "Void."

This will allow sites to be configured so that transactions are not processed--they are simply captured and authorized. Site admins will then have to manually process payments. This feature will be useful in a situation where membership or event registration is dependent on application review. Contacts can apply for the membership or event, including their CC details and then site admins can review and choose whether or not accept the application and process the payment.

This will preclude the need for either CC processing being a second step required of the user after application approval or the need for site admins to have to refund CC fees for denied applications. Giving refunds, however, is also sometimes necessary, so we will add that as well.

The overview of the changes required is:

  • On the Payment Processor Edit page we need a switch to mark this PP as "hold" as opposed to "process now." The perceived usage will be that site admins can create multiple PPs of Auth.net AIM and mark each differently. Then for 'restricted' items they can use the "hold" one and for open items they can use the "process now" one.
  • On the Edit Contribution page we need three button or links to allow the user to Process the payment, Void the payment or Refund the payment.
  • A new method for the PP itself, to send an API call to auth.net with one of our three new transaction types. 
  • A method to process the "process" etc. buttons and call method above. 

There are details not yet clarified, but this is the basic approach. I wanted to post this here before proceeding too far to see if there is any feedback. I will be coding this in CiviCRM 3.1.4 core for Drupal, but without any Drupal-specific code of course.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

jalama

  • I post frequently
  • ***
  • Posts: 176
  • Karma: 22
    • Rooty Hollow LLC
  • CiviCRM version: 3.3.5
  • CMS version: Drupal 6 and 7
  • MySQL version: 5.1
  • PHP version: 5.2.5 and 5.3
Re: Authorize.net AIM Authorization Only
April 28, 2010, 09:19:52 am
One of the major tricks here will be making those button (void, process, refund) conditional on the use of the use of the hold option for the payment processor.

The other thing to consider is you only have 30 days, assuming you are using authorize.nets AIM API.  It may be longer for others but I do not believe so.  So you would want the process and void buttons to disappear after 30 days as it is automatically voided.
http://www.rootyhollow.com

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Authorize.net AIM Authorization Only

This forum was archived on 2017-11-26.