Hello,
Sorry, if my question is stupid - I'm not a pro and supporting my onw web-shop only, but...
Is this code (appeared in V157 in includes/classes/payment.php) really correct:
Code:
function after_order_create($zf_order_id) {
if (!is_array($this->modules)) return;
if (!is_object($GLOBALS[$this->selected_module])) return;
if (!$GLOBALS[$this->selected_module]->enabled) return;
$function = __FUNCTION__;
if (!method_exists($GLOBALS[$this->selected_module], $function)) return;
return $GLOBALS[$this->selected_module]->after_order_create($function);
}
I've got an issue using this method in one of my own payment modules - it seems the parameter ($zf_order_id) is not being transferred corrctly into the method
(also the same for admin_notification method of the same class, but I do not know, if it is actually in use somewhere)
Bookmarks