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

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

Main resources:

Total runtime0.0155 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 589.0391152.6250
Module start 'layout' 0.00550.0029 741.664139.4609
Module start 'content' 0.00850.0044 781.125093.4609
Module end 'content' 0.01280.0026 874.585934.3047
Script end 0.0155  908.8906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002717.3662140.0002
Check MTime0.00117.1766140.0001
Mysql Total
Database connection0.00095.617910.0009
Mysqli_queries0.002717.404630.0009
Looping result0.00000.096610.0000
Template Total0.002214.110.0022
Template load0.00116.981810.0011
Template processing0.00117.090710.0011
Override
Cache load0.00085.243610.0008
General
dbfile0.00021.604780.0000
String conversion0.00000.046040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs