Redirecting payment gateway - unfinished workflow process?

Author Message

Slavo Uhrin

Tuesday 26 February 2008 9:43:55 am

I am using a custom gateway based on eZRedirectGateway class, with only createPaymentObject and createRedirectionUrl methods overriden. If the payment is accepted, the workflow process is finished and removed from the database, as well as the payment object. When the payment is not accepted, the workflow process and the payment object stays in the database, probably forever. Is this the standard and expected behavior? I would expect to finish and cleanup the workflow process in both the cases.

As I can notice, the same case is with the standard eZPaypal extension.

Tested in eZ publish version 3.8.10.

independent eZ developer | http://howgh.sk

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 10:28:22
Script start
Timing: Jan 18 2025 10:28:22
Module start 'layout'
Timing: Jan 18 2025 10:28:22
Module start 'content'
Timing: Jan 18 2025 10:28:23
Module end 'content'
Timing: Jan 18 2025 10:28:23
Script end

Main resources:

Total runtime0.7660 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 588.1563152.6563
Module start 'layout' 0.00480.0029 740.812539.5078
Module start 'content' 0.00770.7570 780.3203462.7891
Module end 'content' 0.76470.0013 1,243.10948.0938
Script end 0.7660  1,251.2031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.3881160.0002
Check MTime0.00120.1576160.0001
Mysql Total
Database connection0.00070.097510.0007
Mysqli_queries0.727995.0174460.0158
Looping result0.00040.0462440.0000
Template Total0.731695.520.3658
Template load0.00200.261120.0010
Template processing0.729695.244820.3648
Template load and register function0.00010.011410.0001
states
state_id_array0.00160.212410.0016
state_identifier_array0.00100.135920.0005
Override
Cache load0.00160.208070.0002
Sytem overhead
Fetch class attribute can translate value0.00100.130810.0010
Fetch class attribute name0.00070.090420.0003
XML
Image XML parsing0.00140.185910.0014
class_abstraction
Instantiating content class attribute0.00000.000520.0000
General
dbfile0.00300.3867150.0002
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs