How to handle the event raised 'after checkout'?

Author Message

Dominik Pich

Tuesday 27 April 2004 4:08:08 am

I need to handle that event via my extension.
I know I can take the WorldpayGateway as a great reference but I still don't understand how it works...

Paul Forsyth

Tuesday 27 April 2004 4:28:13 am

Which parts do you have trouble with? The PHP code or how it is activated?

paul

--
http://www.visionwt.com

Dominik Pich

Tuesday 27 April 2004 5:31:47 am

I did something like you did for WP for Paypal :P
But dont understand workflows... I have the eventtype but how to activate it?

Thank you,
Dominik

Paul Forsyth

Tuesday 27 April 2004 6:12:07 am

Well, you need to create a workflow in the admin interface, and add a trigger to it.

I would suggest reading these articles:

http://ez.no/ez_publish/documentation/building_an_ez_publish_site/the_guestbook/creating_a_workflow
http://ez.no/ez_publish/documentation/building_an_ez_publish_site/the_guestbook/connecting_the_workflow_to_a_trigger_function

They should explain the basics you need.

Paul

--
http://www.visionwt.com

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.