Payment_Process2
[ class tree: Payment_Process2 ] [ index: Payment_Process2 ] [ all elements ]

Class: Payment_Process2_AuthorizeNet

Source Location: /Payment_Process2-0.3.1/Payment/Process2/AuthorizeNet.php

Class Overview

Payment_Process2_Common
   |
   --Payment_Process2_AuthorizeNet

Payment_Process2_AuthorizeNet


Author(s):

Version:

  • @version@

Copyright:

  • 1997-2005 The PHP Group

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 68]
Payment_Process2_AuthorizeNet

This is a processor for Authorize.net's merchant payment gateway. (http://www.authorize.net/)

*** WARNING *** This is BETA code, and has not been fully tested. It is not recommended that you use it in a production environment without further testing.



[ Top ]


Class Variables

$_typeFieldMap = array(

           'CreditCard' => array(
                'firstName'  => 'x_first_name',
                'lastName'   => 'x_last_name',
                'cardNumber' => 'x_card_num',
                'cvv'        => 'x_card_code',
                'expDate'    => 'x_exp_date'
           ),'eCheck'=>array('routingCode'=>'x_bank_aba_code','accountNumber'=>'x_bank_acct_num','type'=>'x_bank_acct_type','bankName'=>'x_bank_name'))

[line 110]

$_typeFieldMap

Type:   mixed
Overrides:   Array


[ Top ]



Method Detail

__construct (Constructor)   [line 175]

void __construct( [array $options = array()], [HTTP_Request2 $request = null])

Constructor.
  • See: Payment_Process::setOptions()

Overrides Payment_Process2_Common::__construct() (__construct)

Parameters:

array   $options   —  Class options to set.
HTTP_Request2   $request   — 

[ Top ]

getStatus   [line 261]

string getStatus( )

Get (completed) transaction status.
  • Return: Two-digit status returned from gateway.

[ Top ]

prepareRequestData   [line 324]

void prepareRequestData( )

  • Access: public

[ Top ]

process   [line 191]

mixed process( )

Processes the transaction.

Success here doesn't mean the transaction was approved. It means the transaction was sent and processed without technical difficulties.

  • Return: Payment_Process2_Result on success, PEAR_Error on failure
  • Access: public

[ Top ]

processCallback   [line 237]

mixed processCallback( )

Processes a callback from payment gateway

Success here doesn't mean the transaction was approved. It means the callback was received and processed without technical difficulties.

  • Return: Payment_Process2_Result on success, PEAR_Error on failure

[ Top ]

translateAction   [line 353]

void translateAction( $action)

Translates the actions to a localised version

Parameters:

   $action   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:40:36 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.