eZP 4.2.0, webshop & payment gateway

Author Message

Stéphane Le Merre

Monday 19 October 2009 1:00:47 am

Hello,

I have an issue with shop in eZPublish 4.2 : i'm using a self made extension as gateway (it looks like eZSips). It works just fine with eZPublish 4.1.x.

I did a workflow (Checkout -> before).

When comes the checkout, eZ seems to use the "redirect.tpl" template as layout when the event happens, and the user is directly redirected to the "orderview" view of the shop module.

Probably this issue comes from kernel/shop/checkout.php but i do not know if it has been modified since 4.1. (this line at the end of the file $module->redirectTo( '/shop/orderview/' . $orderID ); is executed and it does not have to).
Maybe i can have a look this week, i just wanted to report this.

Stéphane.

http://www.ligams.com

H-Works Agency

Tuesday 27 October 2009 8:41:42 am

Hello Stéphane,

I have the same problem with my eZSips 2.0 module.

Its like the trigger isn't called anymore.

Did you get an answer till your first report ?

Thanx

EZP is Great

Stéphane Le Merre

Wednesday 28 October 2009 4:53:03 am

Hello Martin,

Sorry, but i have not investigate anymore at this time.

Stéphane.

http://www.ligams.com

Denis Hoa

Thursday 29 October 2009 11:10:27 am

Hi,

We experienced the same issue using ezPaypal + a custom-made payment gateway for RBS Worldpay.
However, using only one gateway works, either with ezPaypal or the other.

Are you using multiple payment gateways?
Could this issue concern selection of payment gateway workflow?

Denis

H-Works Agency

Friday 30 October 2009 2:10:09 am

Problem is due to a missing status in the 4.2 workflowtype.php.

I had to hack the kernel to make things work.

Don't upgrade ez if your version work, it'll never go smoothly.

EZP is Great

Renan Leme

Friday 20 November 2009 3:31:18 pm

In file lib/ezutils/classes/ezmoduleoperationinfo.php, function executeTrigger(), search for:

if ( $status['Status'] == eZTrigger::FETCH_TEMPLATE_REPEAT )

and change to:

if ( $status['Status'] == eZTrigger::FETCH_TEMPLATE_REPEAT && $operationName == 'publish' && $this->ModuleName == 'content' )

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 04:21:19
Script start
Timing: Jan 18 2025 04:21:19
Module start 'layout'
Timing: Jan 18 2025 04:21:19
Module start 'content'
Timing: Jan 18 2025 04:21:20
Module end 'content'
Timing: Jan 18 2025 04:21:20
Script end

Main resources:

Total runtime0.8310 sec
Peak memory usage4,096.0000 KB
Database Queries70

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0141 589.1563152.6406
Module start 'layout' 0.01410.0026 741.796939.4766
Module start 'content' 0.01670.8128 781.2734643.7109
Module end 'content' 0.82950.0015 1,424.984416.1406
Script end 0.8310  1,441.1250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4266160.0002
Check MTime0.00140.1654160.0001
Mysql Total
Database connection0.00800.966710.0080
Mysqli_queries0.760691.5216700.0109
Looping result0.00070.0877680.0000
Template Total0.793995.520.3970
Template load0.00210.254520.0011
Template processing0.791895.278420.3959
Template load and register function0.00010.009910.0001
states
state_id_array0.00120.140510.0012
state_identifier_array0.00100.117320.0005
Override
Cache load0.00180.2171400.0000
Sytem overhead
Fetch class attribute can translate value0.00050.065140.0001
Fetch class attribute name0.00140.165180.0002
XML
Image XML parsing0.00130.150540.0003
class_abstraction
Instantiating content class attribute0.00000.0027100.0000
General
dbfile0.00110.1331230.0000
String conversion0.00000.001140.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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 27
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs