eZPublish  3.8
eZRedirectGateway Class Reference

The class eZRedirectGateway is a base class for payment gateways which support payment through redirection to the payment site and payment notifications throught callbacks(postbacks). More...

+ Inheritance diagram for eZRedirectGateway:
+ Collaboration diagram for eZRedirectGateway:

Public Member Functions

 cleanup (&$process, &$event)
 
createPaymentObject (&$processID, &$orderID)
 
createRedirectionUrl (&$process)
 
 execute (&$process, &$event)
 
 eZRedirectGateway ()
 
 needCleanup ()
 
- Public Member Functions inherited from eZPaymentGateway
 cleanup (&$process, &$event)
 
createShortDescription (&$order, $maxDescLen)
 
 execute (&$process, &$event)
 
 eZPaymentGateway ()
 
 needCleanup ()
 

Additional Inherited Members

- Public Attributes inherited from eZPaymentGateway
 $logger
 

Detailed Description

The class eZRedirectGateway is a base class for payment gateways which support payment through redirection to the payment site and payment notifications throught callbacks(postbacks).

Member Function Documentation

eZRedirectGateway::cleanup ( $process,
$event 
)

Removes temporary eZPaymentObject from database.

& eZRedirectGateway::createPaymentObject ( $processID,
$orderID 
)

Creates instance of subclass of eZPaymentObject which stores information about payment processing(orderID, workflowID, ...). Must be overridden in subclass.

Referenced by execute().

& eZRedirectGateway::createRedirectionUrl ( $process)

Creates redirection url to payment site. Must be overridden in subclass.

Referenced by execute().

eZRedirectGateway::execute ( $process,
$event 
)
eZRedirectGateway::eZRedirectGateway ( )

Constructor.

eZRedirectGateway::needCleanup ( )

The documentation for this class was generated from the following file: