Franz Holzinger

Verse of the day

Die Frucht aber des Geistes ist Liebe, Freude, Friede, Geduld, Freundlichkeit, Gütigkeit, Glaube, Sanftmut, Keuschheit. Wider solche ist das Gesetz nicht.
Galater 5:22-23

© Bible Gateway's Verse of the Day

Payment Transactor Extension
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);
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.