Forums / Developer / Issues with shop and mutli payment gateways (Exponential 4.2)

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Issues with shop and mutli payment gateways (Exponential 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 Exponential 4.0.1 but not with Exponential 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 Exponential 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