Franz Holzinger

Verse of the day

Jesus spricht zu ihm: Ich bin der Weg und die Wahrheit und das Leben; niemand kommt zum Vater denn durch mich.
Johannes 14:6

© 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.