Hello Pankaj,
Thank you for the information.
Would it be possible to integrate Guru with Affiliate Tracker?
There are instructions here: https://www.joomlathat.com/documentation/affiliate-tracker/using-the-api-to-create-conversions
It seems the following code should be included once the payment has come through:
$conversion_data = array(
"name" => "Custom Order",
"component" => "com_yourcomponent",
"extended_name" => "The item name",
"type" => 1,
"value" => 100 ,
"reference_id" => 234,
"approved" => 1,
);
require_once(JPATH_SITE.DIRECTORY_SEPARATOR.'components'.DIRECTORY_SEPARATOR.'com_affiliatetracker'.DIRECTORY_SEPARATOR.'helpers'.DIRECTORY_SEPARATOR.'helpers.php');
AffiliateHelper::create_conversion($conversion_data, $user_id);
Thanks!
Best regards,
Roger.