Hi, I had the pleasure of meeting Ryan at Capital Camp in DC last week. We reviewed the code in the Affliliates and Affiliates NG modules and he recommended opening a bug here. We took a look at the module and tested record clicks, which did not register in the affiliates UI "/admin/affiliates". We also setup a campaign, and tried to record the purchase after coming into the site via define('AFFILIATE_URL', 'ref/');

The README simply states the module is not that far along, but it seems really close.
"Please note that these modules are not yet production-ready. Their primary audience are developers, looking to develop flexible affiliating solutions for their clients.."

Thanks for all your hard work on this. It seems so close to being prod ready!

Comments

sinn’s picture

In affiliate_ng.module Should be:

function affiliate_ng_menu() {
$items = array();

$items[AFFILIATE_URL . '%user'] = array(

instead of

function affiliate_ng_menu() {
$items = array();

$items[AFFILIATE_URL . '%user/'] = array(

deggertsen’s picture

Is this not an affiliate_ng issue rather than a commerce_affiliate issue? I looked to see if I could find the problem and it looks like it has been fixed to me. Correct me if I'm wrong though and mark as fixed if I'm right...

deggertsen’s picture

Issue summary: View changes
Status: Active » Closed (fixed)

Given that the solution that @sinn gave is the actual fix, this has already been fixed.