Difference between revisions of "Talk:Developers API Tutorials"

From Zen Cart(tm) Wiki
Jump to: navigation, search
 
Line 2: Line 2:
  
 
I wonder, whether there are/will be notifiers for payment processes? What I mean is that can we get notified when before_process() and after_process() events are triggered in the payment module, so we can hook in, if neccesary? Or maby order notifiers cover that aspect...
 
I wonder, whether there are/will be notifiers for payment processes? What I mean is that can we get notified when before_process() and after_process() events are triggered in the payment module, so we can hook in, if neccesary? Or maby order notifiers cover that aspect...
 +
 +
Given the v1.2.7 directory/program structure I presume, that
 +
$this->notify('NOTIFY_PAYMENT_START_BEFORE_PROCESS'); etc.
 +
could be added to respective functions in the core payment class at includes/classes/payment.php to achieve such functionality, right?

Revision as of 08:59, 17 March 2006

Many thanks for sharing some API from v1.3!!! :)

I wonder, whether there are/will be notifiers for payment processes? What I mean is that can we get notified when before_process() and after_process() events are triggered in the payment module, so we can hook in, if neccesary? Or maby order notifiers cover that aspect...

Given the v1.2.7 directory/program structure I presume, that $this->notify('NOTIFY_PAYMENT_START_BEFORE_PROCESS'); etc. could be added to respective functions in the core payment class at includes/classes/payment.php to achieve such functionality, right?