Issues with shop and mutli payment gateways (ezpublish 4.2)

Author Message

Fabien Mas

Tuesday 18 May 2010 5:37:11 am

Hi,

I have several issues with my shop

1)

I have developped 2 payment gateways

In my workflow "before checkout", I select my 2 gateways

In my shop when I confirm my payment, instead of seeing the "select gateway" page, I see the orderview page (with no valid payment of course)

It was working with ezpublish 4.0.1 but not with ezpublish 4.2.

So I trace the code until the eZPaymentGatewayType class

The "execute" function returns eZWorkflowType::STATUS_FETCH_TEMPLATE_REPEAT;

If I put return eZWorkflowType::STATUS_FETCH_TEMPLATE; it works, I have my select gateway page

I have seen in the shop/confirmorder.php file that there are no handle for the $operationResult['status'] when its value is eZModuleOperationInfo::STATUS_REPEAT

Only eZModuleOperationInfo::STATUS_CONTINUE , eZModuleOperationInfo::STATUS_HALTED and eZModuleOperationInfo::STATUS_CANCELLED are handled

Is it a bug ?

2) With ezpublish 4.0.1 or 4.2, when I am on my select gateway page , if I reload my page(F5 key), I am redirected to the orderview page , alos with no valid payment of course

Is it a bug (again ;) )?

thx for your help

Erwin Eggenberger

Wednesday 19 May 2010 1:55:08 am

Hi Fabien,

it might be this bug that's affecting your extension http://issues.ez.no/IssueView.php?Id=15727

Regards

Erwin

Fabien Mas

Wednesday 19 May 2010 6:08:59 am

Hi Erwin,

Indeed, it seems to be my bug :)

So now I don't know what to do, it's hard to upgrade in 4.3 at the moment

Anyway, thank you for your help

Fabien

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