Too slow and strange show after finished payment order

Author Message

Quynh Nguyen

Monday 06 April 2009 4:36:32 pm

I tried ezpaypal and it will show the order status after confirmed and payment. It is normal.

I write my own extension for MIGS based on ezpaypal, because it uses redirect style to interchange information. The only thing different is: MIGS send back via GET not POST likes paypal. Every thing is good. After payment in payment gateway finished, it redirect information back to my website. I saw the log and see that after right checking payment status, the payment was approved.

But the time from my extension done its job to show the next screen is so long. About 1 minute. I see that it only show after send email to customer and administrator. Maybe the email setting is the mainly problem makes it slow. I don't know and I will check...

However, after sending email done. The result page is: nothing (only header and footer). In ezpaypal, after received the result from payment gateway in http://www.yourdomain.com/paypal/notify_url, checked and approved payment, it show the order status: http://www.youdomain.com/shop/oderview/<ordernumber>. But mine after checked and approved payment, it still shows the page: http://www.yourdomain.com/mypaymentextension/notifiy_url?blahblah... and it does not forward to the order status.

I tried many times and the same result. Please help me... Thanks so much!

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

Main resources:

Total runtime0.7970 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 588.1563152.6563
Module start 'layout' 0.00560.0026 740.812539.4922
Module start 'content' 0.00820.7873 780.3047400.3906
Module end 'content' 0.79550.0015 1,180.69538.1250
Script end 0.7970  1,188.8203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4153160.0002
Check MTime0.00140.1754160.0001
Mysql Total
Database connection0.00070.084710.0007
Mysqli_queries0.761295.5076460.0165
Looping result0.00040.0495440.0000
Template Total0.763395.820.3816
Template load0.00230.285320.0011
Template processing0.761095.478220.3805
Template load and register function0.00020.028510.0002
states
state_id_array0.00140.169510.0014
state_identifier_array0.00140.169520.0007
Override
Cache load0.00190.236280.0002
Sytem overhead
Fetch class attribute can translate value0.00050.064510.0005
Fetch class attribute name0.00060.076710.0006
XML
Image XML parsing0.00010.013610.0001
class_abstraction
Instantiating content class attribute0.00000.000410.0000
General
dbfile0.00060.0745100.0001
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs