External Payment Service

Author Message

Karol Radziuk

Friday 27 August 2010 5:48:51 am

Hi,

this time I have a problem with payment confirmation.

After the user fills form, External Payment Service send to my shop URLC confirmation (it call confirmation module with some POST data), and then waits for my shops feedback (expected response: 'OK').

But how can I send this message? EZ create module with all HTML code.

{$me|attribute(show,1)}

Jean-Luc Nguyen

Wednesday 01 September 2010 1:07:03 am

Hi Karol,

If this is a module that is sending back the response and you only need to send "OK", on your php module, you can put at the end :

// If this is OK of course
$Result["content"] = "OK";
$Result["pagelayout"] = "";

http://www.acidre.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 02:02:45
Script start
Timing: Jan 18 2025 02:02:45
Module start 'layout'
Timing: Jan 18 2025 02:02:45
Module start 'content'
Timing: Jan 18 2025 02:02:46
Module end 'content'
Timing: Jan 18 2025 02:02:46
Script end

Main resources:

Total runtime0.6840 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 587.9141152.6250
Module start 'layout' 0.00510.0036 740.539139.4453
Module start 'content' 0.00870.6739 779.9844528.0234
Module end 'content' 0.68260.0014 1,308.00788.1641
Script end 0.6840  1,316.1719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4996160.0002
Check MTime0.00140.2034160.0001
Mysql Total
Database connection0.00060.087810.0006
Mysqli_queries0.639093.4165540.0118
Looping result0.00050.0771520.0000
Template Total0.649094.920.3245
Template load0.00230.329520.0011
Template processing0.646794.540920.3233
Template load and register function0.00010.012110.0001
states
state_id_array0.00060.083310.0006
state_identifier_array0.00140.198020.0007
Override
Cache load0.00190.2705140.0001
Sytem overhead
Fetch class attribute can translate value0.00070.102520.0004
Fetch class attribute name0.00100.151240.0003
XML
Image XML parsing0.00100.148120.0005
class_abstraction
Instantiating content class attribute0.00000.000840.0000
General
dbfile0.00090.1309220.0000
String conversion0.00000.001540.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs