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

Class: Payment_Process_Transfirst

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

Class Overview

PEAR
   |
   --Payment_Process
      |
      --Payment_Process_Common
         |
         --Payment_Process_Transfirst

Payment_Process_Transfirst


Author(s):

Version:

  • @version@

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 65]
Payment_Process_Transfirst

This is a processor for TransFirst's merchant payment gateway, formerly known as DPILink. (http://www.transfirst.com/)

*** WARNING *** This is BETA code. While I have tested it and it appears to work for me, I strongly recommend that you do additional testing before using it in production systems.



[ Top ]


Method Detail

Payment_Process_Transfirst (Constructor)   [line 129]

void Payment_Process_Transfirst( [array $options = false])

Constructor.

Parameters:

array   $options     Class options to set.

[ Top ]

getSequence   [line 226]

mixed getSequence( )

Get transaction sequence.

'Sequence' is what Transfirst calls their transaction ID/approval code. This function returns that code from a processed transaction.

  • Return: Sequence ID, or PEAR_Error if the transaction hasn't been processed.

[ Top ]

getStatus   [line 209]

string getStatus( )

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

[ Top ]

process   [line 154]

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:39 -0400 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.