Support of payment gateways in the eZPublish
Intoduction
If you are going to make online shop, you probably wants to receive money for goods.
One way to do this is to use payment services like Paypal, Paynet, etc. Each gateway
(service) supports it's own protocol: direct SSL connection to the payment site,
XML messages, redirection. For this purpose eZPublish offers a collection of php-classes.
The goal is to make development of the payment gateways easy.
How it works
The most common way of using gateways is based on workflows, events and triggers. So,
when you want to receive money through payment system, you have to create a workflow
with a 'payment' event and attach this workflow to trigger, shop->checkout->before
for example. When customer confirms its order, workflow starts and 'payment' event
executes. During execution 'payment' event searches available in the eZPublish
gateway types (implementations of payment protocols), asks customer to choose one and
delegates execution to the choosen gateway. The gateway performs some operations,
which are specific for each payment system, checks validation of the payment and as
result of checking activates (or not) customer's order.
Classes overview
Event:
Gateways:
Specific for 'redirectional' gateways:
Examples