Franz Holzinger

Verse of the day

denen Gott gewollt hat kundtun, welcher da sei der herrliche Reichtum dieses Geheimnisses unter den Heiden, welches ist Christus in euch, der da ist die Hoffnung der Herrlichkeit. Den verkündigen wir und vermahnen alle Menschen und lehren alle Menschen mit aller Weisheit, auf daß wir darstellen einen jeglichen Menschen vollkommen in Christo Jesu;
Kolosser 1:27-28

© Bible Gateway's Verse of the Day


Payment Transactor Extension
 
 
finalization
 
autor: Franz Holzinger Datum: 3-02-10 14:46:52
 
6.) For doing the finalization you must create an object of the class file control/class.tx_ttproducts_activity_finalize.php.
Then you call the method doProcessing .

In the file control/class.tx_ttproducts_control.php you find examples how to instantiate this finalization object. (tt_products 2.6.3)
$activityFinalize = t3lib_div::makeInstance('tx_ttproducts_activity_finalize');
$activityFinalize->init($this->pibase, $this->cnf, $this->basket, $this->tt_products, $this->tt_products_cat, $this->fe_users, $order, $mainMarkerArray);
$activityFinalize->doProcessing(...);
A number of other objects will be needed to execute this method.

7.) The order data is already stored as hidden in the records of sys_products_orders. Another code can be written to unhide them, if the payment has been done and maybe send the order confirmation email as well.