eZPaymentGateway class

[eZPaymentGateway image]

This is a base class for payment gateways. Never create objects of this class. Instead you have to create your own class which is inherited from this class and override execute and cleanup functions.

Data

Methods

execute(process: eZWorkflowProcess, event: eZWorkflowEven): EZ_WORKFLOW_TYPE_STATUS

Does nothing.

Parameters

Returns

EZ_WORKFLOW_TYPE_STATUS_REJECTED - payment is rejected in any case.


cleanup(process: eZWorkflowProcess, event: eZWorkflowEven): EZ_WORKFLOW_TYPE_STATUS

Does nothing.

Parameters

Returns



createShortDescription(order: eZOrder, maxDescLen: integer )

Creates a description of the order. If description string exceeds max description length (maxDescLen), then it will be truncated and padded with '...'.

Parameters

Returns