check if payment succeeded in workflow checkout/after

Author Message

Bernhard Reiter

Friday 08 July 2005 2:55:39 am

Hi,

I would need to run a workflow on the checkout/after event.
And this workflow would need to check if an payment succeeded
(for example paypal).
If the payment was successful some action is going to happen.
Is there some way i can tell if it succeeded?

Does someone know this?

Cheers,
Bernhard

ludo thomas

Thursday 01 September 2005 6:23:07 am

I think you dont need a workflow.
you can add what you want in checkout.php that verify the status of orders..

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 31 2025 06:12:45
Script start
Timing: Jan 31 2025 06:12:45
Module start 'layout'
Timing: Jan 31 2025 06:12:45
Module start 'content'
Timing: Jan 31 2025 06:12:45
Module end 'content'
Timing: Jan 31 2025 06:12:45
Script end

Main resources:

Total runtime0.0371 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.0071 588.3672151.2266
Module start 'layout' 0.00710.0033 739.593836.6797
Module start 'content' 0.01040.0248 776.273490.1875
Module end 'content' 0.03520.0018 866.460929.9922
Script end 0.0371  896.4531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00266.9870140.0002
Check MTime0.00112.8993140.0001
Mysql Total
Database connection0.00154.165510.0015
Mysqli_queries0.00318.222430.0010
Looping result0.00000.059110.0000
Template Total0.00143.710.0014
Template load0.00102.803610.0010
Template processing0.00030.876010.0003
Override
Cache load0.00061.717410.0006
General
dbfile0.016845.176480.0021
String conversion0.00000.021940.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