Hi Philip,
We have an affiliate program in place on our site - it used to track all the affiliate transactions before - and the hidden tracking url was placed in tpl_checkout_success_default.php . At the moment after installing your module it only tracks the paypal orders --- Which tpl page is getting displayed by a worldpay module on the checkout --- is this --- tpl_modules_wp_checkout_success.php ???
In the previous module we had
PHP Code:
$order_total_query = "SELECT value FROM orders_total
WHERE orders_id = " . $zv_orders_id . "
AND class = 'ot_subtotal'";
$webgains_total_query = $db->Execute($order_total_query);
$webgains_total = $webgains_total_query->fields['value'];
Set up in the header - of a success file -- to get a total of the order and than to be able to display it in the hidden tag on the wp_callback success?? am I right??
Bookmarks