eZPublishCommunityProject(LegacyStack)  2013.5
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 ()
 

Public Attributes

const OBJECT_CREATED = 2
 
const OBJECT_NOT_CREATED = 1
 
- 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 ( )

Member Data Documentation

const eZRedirectGateway::OBJECT_CREATED = 2
const eZRedirectGateway::OBJECT_NOT_CREATED = 1

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