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

Class: Payment_Process_AuthorizeNet

Source Location: /Payment_Process-0.6.8/Process/AuthorizeNet.php

Class Overview

Payment_Process_Common
   |
   --Payment_Process_AuthorizeNet

Payment_Process_AuthorizeNet


Author(s):

Version:

  • @version@

Copyright:

  • 1997-2005 The PHP Group

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 76]
Payment_Process_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 118]

$_typeFieldMap

Type:   mixed
Overrides:   Array


[ Top ]



Method Detail

Payment_Process_AuthorizeNet (Constructor)   [line 190]

Payment_Process_AuthorizeNet Payment_Process_AuthorizeNet( [ $options = false])


Parameters:

   $options   — 

[ Top ]

__construct (Constructor)   [line 183]

void __construct( [array $options = false])

Constructor.

Overrides Payment_Process_Common::__construct() (__construct)

Parameters:

array   $options   —  Class options to set.

[ Top ]

getStatus   [line 320]

string getStatus( )

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

[ Top ]

process   [line 204]

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_Process_Result on success, PEAR_Error on failure
  • Access: public

Overrides Payment_Process_Common::process() (Processes the transaction.)
[ Top ]

processCallback   [line 292]

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_Process_Result on success, PEAR_Error on failure

Overrides Payment_Process_Common::processCallback() (processCallback)
[ Top ]


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