Hello,
I have already made the same question to jrox forum, but I am putting it here too in case somebody by any chance has come across a similar issue.
I am attempting to integrate jam jrox with the latest version of Zencart. I updated the tpl_footer.php and put it under checkout_success folder under my custom template, this is what I put in it:
if (isset($zv_orders_id) && (int)$zv_orders_id > 0 && isset($order_summary) && is_array($order_summary)) {
if (!isset($_SESSION['affiliate_order_id']) || $_SESSION['affiliate_order_id'] != $zv_orders_id ) {
$_SESSION['affiliate_order_id'] = $zv_orders_id;
$commissionable_order_formatted = number_format($order_summary['commissionable_order'], 2, '.', '');
echo '<script language="javascript" type="text/javascript" src="http://www.mydomain.com/affiliates/sale.php?amount=' . $commissionable_order_formatted . '&trans_id=' . $order_summary['order_number'] . '"></script>';
}
}
Paypal is the only method that I am using to process orders in my site. After I buy something using the affiliate link, I make sure that I click on "return to my site" after paypal has processed it. The new order is reflected in zencart admin, a new "click" is registered on the affiliate jam account, but the jam admin does not show a new sale. It keeps showing "zero" sales.
I don't know what else to do.The test affiliate is attached to the jam program.
Please let me know if there is some type of setting that I may have forgotten to review if you were successful doing this integration.
Thanks in advanced.



The test affiliate is attached to the jam program.
Reply With Quote



Bookmarks