ezorder object data_text_2 behaves mysteriously

ezorder object data_text_2 behaves mysteriously

Friday 07 December 2007 3:28:18 am - 2 replies

Author Message

zurgutt -

Friday 07 December 2007 5:47:33 am

Finally figured it out.

In paynet callback script call for approvePayment() occurred before setting the order attribute. Somehow i imagined it just marks order as paid but apparently other routines are called from within it too, including sending emails.

How this could affect order view is still mystery for me though.

Thanks for everyone who helped.

Certified eZ developer looking for projects.
zurgutt at gg.ee

Bjørn Reiten

Friday 07 December 2007 7:13:09 am

Hi,

I think if you look at the function approvePayment() in the file kernel/shop/classes/ezpaymentcallbackchecker.php, the function will return a function call to continueWorkflow(), which will continue on the functionlist described in the file:

kernel/shop/operation_definition.php -> $OperationList['checkout'] ...

which will activate the order and send emails and run the rest of the workflows.

You must be logged in to post messages in this topic!

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