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.

eZ debug

Timing: Jan 18 2025 22:27:12
Script start
Timing: Jan 18 2025 22:27:12
Module start 'layout'
Timing: Jan 18 2025 22:27:12
Module start 'content'
Timing: Jan 18 2025 22:27:12
Module end 'content'
Timing: Jan 18 2025 22:27:12
Script end

Main resources:

Total runtime0.0159 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 588.0469152.6406
Module start 'layout' 0.00550.0027 740.687539.4766
Module start 'content' 0.00820.0057 780.164189.2578
Module end 'content' 0.01380.0020 869.421930.3047
Script end 0.0159  899.7266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002415.0251140.0002
Check MTime0.00106.5101140.0001
Mysql Total
Database connection0.00074.349110.0007
Mysqli_queries0.002515.452830.0008
Looping result0.00000.075010.0000
Template Total0.00159.310.0015
Template load0.00084.910310.0008
Template processing0.00074.388110.0007
Override
Cache load0.00053.192010.0005
General
dbfile0.00063.895980.0001
String conversion0.00000.049540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs