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

Class: Payment_Process_AuthorizeNet

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

Class Overview

PEAR
   |
   --Payment_Process
      |
      --Payment_Process_Common
         |
         --Payment_Process_AuthorizeNet

Payment_Process_AuthorizeNet


Author(s):

Version:

  • @version@

Variables

Methods


Inherited Variables

Inherited Methods

Class: Payment_Process_Common

Payment_Process_Common::debug()
Print a debug message.
Payment_Process_Common::getResult()
Get transaction result.
Payment_Process_Common::process()
Process the transaction.
Payment_Process_Common::setPayment()
Set payment
Payment_Process_Common::validate()
Validate data before processing.

Class: Payment_Process

Payment_Process::factory()
Return an instance of a specific processor.
Payment_Process::fieldExists()
Determines if a field exists.
Payment_Process::getFields()
Get a list of fields.
Payment_Process::getOption()
Get an option value.
Payment_Process::isError()
Statically check a Payment_Result class for error
Payment_Process::isRequired()
Determine if a field is required.
Payment_Process::isSuccess()
Statically check a Payment_Result class for success
Payment_Process::set()
Set a value.
Payment_Process::setFrom()
Set many fields.
Payment_Process::setOption()
Set an option value
Payment_Process::setOptions()
Set class options.

Class Details

[line 45]
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 envorinment without further testing.



[ Top ]


Class Variables

$_typeFieldMap = array(

           'CreditCard' => array(

                    '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','name'=>'x_bank_acct_name'))

[line 83]

$_typeFieldMap

Type:   mixed
Overrides:   Array


[ Top ]



Method Detail

Payment_Process_AuthorizeNet (Constructor)   [line 142]

void Payment_Process_AuthorizeNet( [array $options = false])

Constructor.

Parameters:

array   $options     Class options to set.

[ Top ]

getStatus   [line 227]

string getStatus( )

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

[ Top ]

process   [line 152]

mixed &process( )

Process the transaction.
  • Return: Payment_Process_Result on success, PEAR_Error on failure

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


Documentation generated on Mon, 11 Apr 2005 14:35:35 -0400 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.