Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages | Examples

tx_commerce_payment_creditcard Class Reference

List of all members.

Public Member Functions

 needAdditionalData ($pObj)
 getAdditonalFieldsConfig ($pObj)
 proofData ($formData, $pObj)
 finishingFunction ($config, $session, $basket, $pObj)
 updateOrder ($orderUid, $session, $pObj)
 getLastError ($finish=0, $pObj)
 getReadableError ()

Public Attributes

 $LOCAL_LANG = array ( )
 $errorFields = array()
 In this var the wrong fields are stored (for future use).
 $errorMessages = array()
 This var holds the errormessages (keys are the fieldnames).

Member Function Documentation

tx_commerce_payment_creditcard::finishingFunction config,
session,
basket,
pObj
 

This method is called in the last step. Here can be made some final checks or whatever is needed to be done before saving some data in the database. Write any errors into $this->errorMessages! To save some additonal data in the database use the method updateOrder().

Parameters:
array $config: The configuration from the TYPO3_CONF_VARS
array $basket: The basket object
Returns:
boolean True or false

tx_commerce_payment_creditcard::getAdditonalFieldsConfig pObj  ) 
 

tx_commerce_payment_creditcard::getLastError finish = 0,
pObj
 

Returns the last error message

tx_commerce_payment_creditcard::getReadableError  ) 
 

tx_commerce_payment_creditcard::needAdditionalData pObj  ) 
 

tx_commerce_payment_creditcard::proofData formData,
pObj
 

tx_commerce_payment_creditcard::updateOrder orderUid,
session,
pObj
 

This method can make something with the created order. For example add the reference id for payments with creditcards.


Member Data Documentation

tx_commerce_payment_creditcard::$errorFields = array()
 

In this var the wrong fields are stored (for future use).

tx_commerce_payment_creditcard::$errorMessages = array()
 

This var holds the errormessages (keys are the fieldnames).

tx_commerce_payment_creditcard::$LOCAL_LANG = array ( )
 

The locallang array for this payment module This is only needed, if individual fields are defined


The documentation for this class was generated from the following file:
Generated on Sun Jan 13 23:12:23 2008 for tx_commerce by  doxygen 1.4.4