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

Class: Payment_Process_Result_Paycom

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

Class Overview

Payment_Process_Result
   |
   --Payment_Process_Result_Paycom

Payment_Process_Result


Author(s):

Version:

  • Release: @package_version@

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 234]
Payment_Process_Result

The core result class that should be returned from each driver's process() function. This should be exte33nded as Payment_Process_Result_DriverName and then have the appropriate fields mapped out accordingly.

Take special care to appropriately create a parse() function in your result class. You can then call _mapFields() with a resultArray (ie. exploded result) to map your results from parse() into the member variables.

Please note that this class keeps your original codes intact so they can be accessed directly and then uses the function wrappers to return uniform Payment_Process codes.



[ Top ]


Class Variables

$_statusCodeMap = array('approved' => PAYMENT_PROCESS_RESULT_APPROVED,
                                'declined' => PAYMENT_PROCESS_RESULT_DECLINED,
                                'error' => PAYMENT_PROCESS_RESULT_OTHER,
                                'test' => PAYMENT_PROCESS_RESULT_OTHER)

[line 243]

$_statusCodeMap

Type:   mixed


[ Top ]

$_statusCodeMessages = array(
          'approved' => 'This transaction has been approved.',
          'declined' => 'This transaction has been declined.',
          'error' => 'This transaction has encountered an error.',
          'test' => 'This transaction is a test.'
    )

[line 255]

Paycom status codes

Type:   mixed


[ Top ]



Method Detail

parse   [line 320]

void parse( )

parse
  • Author: Joe Stump <joe@joestump.net>
  • See: Payemnt_Process_Paycom::process()
  • Access: public

Overrides Payment_Process_Result::parse() (parse)
[ Top ]

Payment_Process_Response_Paycom   [line 305]

void Payment_Process_Response_Paycom( string $rawResponse)

Payment_Process_Response_Paycom
  • Author: Joe Stump <joe@joestump.net>
  • See: Payemnt_Process_Paycom::process()
  • Access: public

Parameters:

string   $rawResponse   — 

[ Top ]


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