Forums / Developer / Problem with ezsips 2.0 extension

Problem with ezsips 2.0 extension

Author Message

Stéphane Bullier

Thursday 27 November 2008 3:57:01 am

Hello,

I have a problem about the record of order in ez_order table. IDs orders are incremented of 2 each time : 1, 3, 5 ...

The log of the process :

27-11-2008 12-41  Etape 1 => eZSipsGateway::eZSipsGateway()
27-11-2008 12-41  Etape 2 => eZSipsGateway::execute()
27-11-2008 12-41  Etape 3 => eZSipsChecker::eZSipsChecker()
27-11-2008 12-41  Etape 4 => eZSipsChecker::handleResponse
27-11-2008 12-41  Etape 5 => eZSipsChecker::createDataFromPOST
27-11-2008 12-41  Etape 6 => eZSipsCheckercreateDataFromPOST : si $POST est vide
27-11-2008 12-41  Etape 7 => eZSipsGateway::EZ_PAYMENT_NOT_ACCEPTED
27-11-2008 12-41  Etape 8 => eZSipsGateway::handleRequest
27-11-2008 12-46  Etape 1 => eZSipsGateway::eZSipsGateway()
27-11-2008 12-46  Etape 2 => eZSipsGateway::execute()
27-11-2008 12-46  Etape 3 => eZSipsChecker::eZSipsChecker()
27-11-2008 12-46  Etape 4 => eZSipsChecker::handleResponse
27-11-2008 12-46  Etape 5 => eZSipsChecker::createDataFromPOST
27-11-2008 12-46  Etape 6 => eZSipsChecker::createDataFromPOST : Payment accepted
27-11-2008 12-46  Etape 7 => eZSipsGateway::EZ_PAYMENT_ACCEPTED
27-11-2008 12-46  Etape 1 => eZSipsGateway::eZSipsGateway()

I would like to known if there are some problems in this log. And how is possible to known if my response handler is called correctly ?

Cheers.

Stéphane

Pascal Specht

Thursday 27 November 2008 11:38:11 pm

Hi Stéphane,

unfortunately I haven't got any spare time these days to spend on your problem. Here's my advice, in the hope that it may be helpful: Try installing a fresh 3.9.3-based installation on a development server with the 'old' SIPS extension. It should work out of the box. From there, you may add the same debug checkpoints, and compare between your installation and this one. That should give you a clue about where to search the error...

</Pascal>

Stéphane Bullier

Friday 28 November 2008 12:18:42 am

Hi Pascal,

Thank you for your answer. I will try your suggestion.

Best regards.

Stéphane

Bartek Modzelewski

Monday 15 June 2009 1:23:24 pm

Hi,

It's just a reminder for other users (and for mysefl ;), that to make emails working (and ConfirmOrderHandler) you need to add

eZShopOperationCollection::sendOrderEmails($orderID)

at the end of handleResponse( ) method, like it's described here: http://ez.no/developer/forum/install_configuration/ez_sips_discussions

Cheers

Baobaz
http://www.baobaz.com